Commit graph

491 commits

Author SHA1 Message Date
Roland Häder
bacb7b70f6
Cleanups:
- added empty lines
- removed old-lost commented out line

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:05 +02:00
Roland Häder
57e668d9e0
Continued:
- avoided else() block which reduces code complexibility
- used more x()
- added curly braces
- added known type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:50:05 +02:00
Roland Häder
7a29944836
Fixes/cleanup:
- added missing curly braces (and some absent caused parser errors)
- <include|require>[_once] are keywords, so don't use them as such
- removed/added empty lines

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:59 +02:00
Roland Häder
d9d60346ff
more usage of dbm::is_result() and sorted a bit statements
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:56 +02:00
Michael
249d84c0b3 Automatic table optimisation is deactivated by default now 2018-05-13 05:41:05 +00:00
Roland Häder
5debcbb5a6
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-10 13:07:22 +02:00
Michael
eb4650ff23 dbclean settings are now available from the frontend 2018-05-07 05:37:20 +00:00
Michael
4ad655ab80 Replace old database queries with the new ones 2018-05-02 19:26:15 +00:00
Andreas Neustifter
846f8becae Install selected theme during settings persistence.
Themes have to be installed to be usable by the system. This is not done
automatically which lead to the problems with the site when themes where
switched right after the install and before the "Reload themes" button
was pressed in the admin page.

This patch makes sure that the selected them is always installed when
it is selected by the user either in the admin or settings page.

Fixes #4921.
2018-04-27 20:45:34 +02:00
Michael
ba35b19af6 Public federated items now always are having an entry with "uid=0" 2018-04-23 11:14:25 +00:00
fabrixxm
12b7bce1cc admin users, don't set account-type if page flag isn't PAGE_NORMAL 2018-04-20 14:27:36 +02:00
fabrixxm
9a7f508550 Admin users: Update page type names, add raw flags template context
Change user table header "Account" to "Type": it use less space :-)
2018-04-20 14:02:45 +02:00
Michael
e5583591d7 Default values for site configuration 2018-04-17 05:18:26 +00:00
Tobias Diekershoff
421517c611 consistent use of terms in heading in the admin panel 2018-04-04 07:22:05 +02:00
Tobias Diekershoff
6c20b4507d Added /tos module 2018-04-02 18:40:30 +02:00
Tobias Diekershoff
348ee3625d BBCode support in register_text 2018-04-02 08:42:11 +02:00
Michael
3eb7ab2d9e Fix the version sorting in the federation statistics 2018-03-31 09:34:36 +00:00
Michael
9bfc7bf584 A relocation hadn't changed the hostname 2018-03-28 08:09:45 +00:00
Michael
17a6cb18b8 Relais settings are added to admin backend 2018-03-28 06:16:46 +00:00
Alexandre Alapetite
e64196c7b3 Fix PHP cannot take a shell script
Fix part of https://github.com/friendica/friendica/issues/4665
`php [shell file]` does not work, so use `php [php file]` instead.
`php bin/console.php` is more robust than e.g. `bin/console` which does
not work on Windows, or *nix systems without Bash
2018-03-24 12:47:40 +01:00
Hypolite Petovan
27d94023ee Merge branch 'master' into develop 2018-03-23 06:15:55 -04:00
Hypolite Petovan
132456697c Remove scripts/dbstructure
- Updated documentation
2018-03-18 23:53:53 -04:00
Hypolite Petovan
9a13e67943 Fix missing logical not in admin/users 2018-03-03 09:34:48 -05:00
Hypolite Petovan
9f21e7f34f Use default value for uid parameter in Contact::getIdForURL 2018-03-01 19:54:12 -05:00
Tobias Diekershoff
3950b2f8c6 added ganggo project to the federation statistics page 2018-02-26 17:10:47 +01:00
Michael
e609de2957 Many item calls are now isolated in a single function 2018-02-06 12:40:22 +00:00
Hypolite Petovan
cea80c78e4 Replace remaining functions in include/datetime by Temporal methods
- Fix uses statements
2018-02-03 20:47:37 -05:00
Hypolite Petovan
5e7285b9ba Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 08:56:55 -05:00
Hypolite Petovan
8aff8a76eb Add Temporal::utcNow() 2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7 Refactor datetime_convert into Temporal::convert
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Hypolite Petovan
fb0a21c0a2 Add phpinfo page only accessible to admins 2018-02-03 01:26:28 -05:00
Tobias Diekershoff
7ef77b926a Admin menu reorganisation
The aside menu in the admin panel is now handled in one array, which also
holds the submenu items. Also the sections of the menu are now a bit more
structured and separated from each other.
2018-01-30 13:37:00 +01:00
Hypolite Petovan
9cd3b17743 Fix translation strings for use with util/extract.php
- Change parentheses to “\x28” and “\x29”
- Remove leading commas
- Remove quotes before commas
2018-01-24 16:51:32 -05:00
Adam Magness
220c566fbd Admin t()
update t() in admin
2018-01-22 18:47:25 -05:00
Adam Magness
3b0f69599e Updat tt() calls
update function calls for tt()
2018-01-22 18:03:26 -05:00
Adam Magness
d49f986d1e Many t() calls
modify many t() calls.
2018-01-22 18:03:26 -05:00
Adam Magness
45f8000ba5 Functions and Calls
finish the other functions before returning to t() and tt()
2018-01-22 18:03:26 -05:00
Adam Magness
fb372877f6 Rename template and doc
Rename admin/plugins.tpl to admin/addons.tpl and update references. Rename doc/de/Plugins.md to Addons.md
2018-01-20 09:45:22 -05:00
Adam Magness
5d03735238 Update hook names
update hook names and other plugin references.
2018-01-20 08:22:18 -05:00
Adam Magness
b86b04a81a Change plugin to addon
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Adam Magness
d07536e032 Update Theme functions and calls
Update function names and calls for Theme class.
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c Update Addon functions and calls
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Hypolite Petovan
5bc7f4a442 Remove RINO2 and RINO3 2018-01-19 11:27:53 -05:00
Hypolite Petovan
5db1717f46 Re-added missing RINO admin setting values 2018-01-19 11:27:53 -05:00
Hypolite Petovan
2e58120bbb Fix RINO admin setting values 2018-01-19 11:27:53 -05:00
Hypolite Petovan
de70007a46 Update RINO settings 2018-01-19 11:27:53 -05:00
Michael
2d66242b4f The delete function is now changed to the new function 2018-01-17 23:22:01 +00:00
Hypolite Petovan
e36f2bb1fb Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Hypolite Petovan
fabbf810b0 Move library/markdown.php to src 2018-01-14 19:01:09 -05:00
Hypolite Petovan
ae66bcaff3 Rename selectOne to selectFirst 2018-01-10 12:57:21 -05:00
Hypolite Petovan
c7a7658316 Fix documentation in include/dba 2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590 Replace dba::select(limit => 1) by dba::selectOne
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Hypolite Petovan
96221a58a2 Fix typo in admin settings 2018-01-07 10:15:46 -05:00
Hypolite Petovan
388386815e Fix variable confusion in admin 2018-01-05 09:21:23 -05:00
Hypolite Petovan
4a52cebb43 Fix typo in mod/admin 2018-01-05 08:30:56 -05:00
Hypolite Petovan
8f477c4ec3 Simplifying admin_page_users_post function
- Use defaults for request parameters
2018-01-05 00:35:26 -05:00
Hypolite Petovan
392f66f152 More issues fixed
- Replaced sizeof by count
- Used DBM::is_result()
2018-01-05 00:28:56 -05:00
Hypolite Petovan
278068c713 Simplify sprintf(t[t]()) calls 2018-01-04 22:52:00 -05:00
Hypolite Petovan
837ac290dd Fix parse error 2018-01-04 20:09:45 -05:00
Hypolite Petovan
819592c3bd Fix Scrutinizer issues in mod [_well_know -> contactgroup]
- Remove unused variables and parameter
- Updated function documentation
- Fix formatting
- Add back uninitialized variables
- Simplify nested conditions
2018-01-04 19:42:48 -05:00
Michael Vogel
c938623a3d
Merge pull request #4167 from MrPetovan/bug/4155-remove-proxy-oembed
Add settings for OEmbed
2018-01-04 20:57:27 +01:00
Tobias Diekershoff
04589ecd38
Merge pull request #4092 from MrPetovan/task/3954-move-auth-to-src
Move auth to src
2018-01-04 18:06:42 +01:00
Hypolite Petovan
50e04d87c2 Add no_oembed_rich_content and allowed_oembed admin settings 2018-01-04 11:58:32 -05:00
Michael
6531313b73 Improved descriptions, improved tab behaviour 2018-01-04 14:22:04 +00:00
Michael
b002574590 Make the community pages available to local users every time 2018-01-03 14:49:22 +00:00
Michael
3ffea2cd2c We now have a global page for all global entries from the network. 2018-01-03 13:27:43 +00:00
Hypolite Petovan
2dc598ed5b Move login() to Login module
- Move nuke_session to include/security
- Remove mod/login
2017-12-29 21:55:13 -05:00
Tobias Diekershoff
3873d4863f add Socialhome to the federation stats 2017-12-24 16:08:34 +01:00
Michael
2b50f001b9 Added statistics 2017-12-19 07:39:21 +00:00
Michael
2d7cd2daf4 "update" is enough 2017-12-14 22:18:53 +00:00
Michael
15d42de647 Class moved, changes applied 2017-12-14 21:13:02 +00:00
Hypolite Petovan
6362296666
Add INNER JOIN to admin pending user list please @annando 2017-12-13 10:32:59 -05:00
Hypolite Petovan
4d72a40aa6 Add Exception support to User::create usages 2017-12-12 21:13:36 -05:00
Hypolite Petovan
9063c830f5 Fix admin pending user list SQL 2017-12-12 21:07:22 -05:00
Hypolite Petovan
a42595a30c Move Object\Contact to Model\Contact 2017-12-07 23:56:12 -05:00
Michael Vogel
5747cfc79c
Revert "Move Objects to Model" 2017-12-08 05:21:51 +01:00
Hypolite Petovan
18d93cddf6 Move Object\Contact to Model\Contact 2017-12-07 09:04:24 -05:00
Adam Magness
b1d16fbdf7 Update use statements
update use statements for rename to singular.
2017-12-04 09:04:36 -05:00
Adam Magness
6e5471def3 Rename to singular
Rename and update references. Standards and a require_once.
2017-12-04 09:01:27 -05:00
Adam Magness
2f0da29c75 Features to src
Move Features to class in Friendica\Content namespace. Update function calls and references.
2017-12-04 08:33:49 -05:00
Hypolite Petovan
27212c7f39 Update function calls to use Model\User and Object\Contact 2017-12-03 22:29:06 -05:00
Tobias Diekershoff
2aca406f52 wrong URL in directory 2017-12-03 08:27:15 +01:00
Hypolite Petovan
4d10f3b3b7 Remove unused use statement 2017-12-02 08:42:44 -05:00
Hypolite Petovan
75181322ba Improve page contacblock for frio theme 2017-12-01 22:33:04 -05:00
Hypolite Petovan
8826ece55e Use Contact::getIdForURL instead of probing
- Add change to mod/admin
- Add change to util/global_community_block
2017-12-01 22:32:24 -05:00
Hypolite Petovan
dc09319695 Add admin/contactblock page
- Add page template
2017-12-01 00:43:39 -05:00
Hypolite Petovan
16d0c30328 Move admin templates to dedicated sub-folder 2017-12-01 00:40:55 -05:00
Hypolite Petovan
3cebdee867 Fix mod/admin.php formatting 2017-11-29 20:28:30 -05:00
Michael
8bffee43b3 Threads are now always enabled. 2017-11-28 18:54:39 +00:00
Hypolite Petovan
b85c94a60d
Merge branch 'develop' into issue/3878-move-Contact-to-src 2017-11-19 18:09:14 -05:00
Hypolite Petovan
898fe2db1e Code cleanup
- Remove extraneous use statements
- Format require_once
2017-11-19 17:06:18 -05:00
Hypolite Petovan
5ee728972e Remove include/Contact.php
- Remove all mentions to include/Contact.php
2017-11-19 17:05:21 -05:00
Hypolite Petovan
ec02af593d Change called method names
- Add GlobalContact::getRandomUrl
- Rename Contact::getIdForURL
- Rename Diaspora::sendUnshare
- Remove unused parameter $self in Contact::terminateFriendship
2017-11-19 17:03:39 -05:00
Hypolite Petovan
b92fc24ff0 Add Contact Object
- Add Profile Object
- Add User Model
- Add use statements
2017-11-19 16:55:28 -05:00
Michael
920160cb28 The poller is now the worker 2017-11-19 21:47:21 +00:00
Michael
8cd21269ff The last of the big workers moved ... delivery and notifier 2017-11-19 18:59:55 +00:00
Michael
925d2d2383 Directory moved 2017-11-18 07:59:30 +00:00
Adam Magness
4ca68c7af0 Class file relocations
Issue #3878
2017-11-08 08:37:03 -05:00
Michael
063358301f One space more 2017-11-08 13:08:26 +00:00
Michael
76caf7a9cf Small corrections 2017-11-08 06:43:20 +00:00