d89e3f4264
To safe or not so save, that is the question
2018-11-19 16:36:31 +00:00
b486e48cd6
14 days
2018-11-19 10:02:44 +00:00
191c1a400a
The expiry of conversations can now be configured in the admin panel
2018-11-19 06:58:46 +00:00
de0ddfa0d8
Fix wromg server detecting / improved Pleroma version numbers
2018-11-11 21:54:50 +00:00
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
063f0e9cb0
Rename escapeTags to escapeHtml
...
rename function and update calls.
2018-11-09 13:27:58 -05:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
b73af72deb
deindent calls
...
implement function in new class
2018-11-08 10:26:49 -05:00
Adam Magness
0e01568ccd
escape_tags calls
...
implement escapeTags function
2018-11-08 10:20:03 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
8a46c786f3
Merge pull request #6053 from zeroadam/CoreRenderer
...
Core Renderer Class
2018-10-31 13:57:12 -04:00
Adam Magness
70f01d6c00
Template Engine and props to Renderer
...
move methods and props from App to Renderer
2018-10-31 13:25:38 -04:00
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a
replace macros
...
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
87f3fe24f7
Moving UPDATE defines/constants out of boot
2018-10-31 14:44:23 +01:00
4ae985e5ed
Setting update version & time on success
2018-10-31 14:44:23 +01:00
26aee23254
Replacing dbupdate_ in admin.php and removing it from Worker\DBUpdate
2018-10-31 14:44:22 +01:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
7c0b591043
Move itemCount parameter from constructor to renderFull()
...
- Remove Pager->itemCount property and Pager->setItemCount() method
- Update usage
2018-10-25 00:07:16 -04:00
14237a9599
Move $pager and $page_offset out of App
...
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
95dc030926
Show deferred worker tasks in the admin interface and workerqueue logs
2018-10-23 20:38:28 +00:00
ca9cad3491
Move hook-related methods from Core\Addon to Core\Hook
2018-10-22 16:50:54 -04:00
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect()
2018-10-22 22:13:35 +02:00
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
ec0d3a6eac
Merge pull request #5946 from JonnyTischbein/move_include_security
...
Move and Split include/security
2018-10-19 08:55:08 -04:00
Jonny Tischbein
0c0e17b7a7
Remove unneeded Util/Security includings + Resolve including merge conflict with develop
2018-10-17 21:52:08 +02:00
Jonny Tischbein
f3fc1f36ca
Renaming functions + moving functions from security to Model/Item and BaseModule + fix multiline comments
2018-10-17 21:30:41 +02:00
Michael Vogel
389685e099
Merge pull request #5920 from MrPetovan/bug/remove-password-from-register
...
Avoid storing plaintext password in register table
2018-10-17 21:04:11 +02:00
Jonny Tischbein
05be2db725
Move include/security tp /src/Core/Authentication and /src/Util/Security
2018-10-17 14:19:58 +02:00
Jonny Tischbein
3a95644848
Add Support for relativeDateTime in future + update Admin user waiting for deleting table header
2018-10-14 22:57:44 +02:00
540adaf829
Use Model\Register methods in modules
...
- Update registration emails to avoid storing the plaintext password in
the register table
- Remove redundant sprintf() when used with L10n::t()
- Remove redundant Systen::baseUrl() with goaway()
2018-10-14 12:26:18 -04:00
7f143c3159
Fix various spelling mistakes
2018-10-14 11:32:54 -04:00
059bd1307f
rename argv to getArgumentValue
2018-10-13 19:05:54 +02:00
2c541afd47
Moved functions out of boot.php into class
...
- z_root() => $a->getBaseURL()
- absurl() => removed because no usage
- is_ajax() => $a->isAjax()
- current_load() => System::currentLoad()
- argc() => $a->argc
- argv($x) => $a->getArgumentValue($x)
2018-10-13 19:03:08 +02:00
2dec8895a9
Curl Response Refactoring
...
- extended Curl to parse Curl Response
- refactored Network::curl()
- replaced every Network::curl() execution with the new Curl container
2018-10-10 21:08:43 +02:00
307286fc47
parameters and getURLpath to getURLPath
2018-10-10 01:18:47 +02:00
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
505350c9fb
Merge pull request #5794 from annando/ap1
...
ActivityPub support
2018-10-02 11:24:04 -04:00
Jonny Tischbein
1803862fc5
associative array + adding mysql value + removing table header
2018-09-27 19:46:28 +02:00
Jonny Tischbein
24117c24ce
Get PHP Configuration for upload limit and display in /admin summary site
2018-09-27 18:53:16 +02:00
8c7e5bb776
all endpoints are now working
2018-09-23 17:29:31 +00:00
Michael Vogel
3d5ac950e3
Issue 5660: Check if .well-known is reachable ( #5661 )
...
* Issue 5660: Check if .well-known is reachable
* Fixes ".."
* Some text correction
* Some more correction
* Anf again some changed text :-)
2018-08-25 18:31:22 -04:00
Michael Vogel
060e887a31
And still there are notices that have to be removed ... ( #5629 )
...
* And still there are notices that have to be removed ...
* Notice removed in ACL part
* Fix missing fields for notifications
* Fixes issue 5630
2018-08-18 08:20:50 +02:00
Unknown
62e53698df
Doing some laundry
2018-08-07 12:25:55 +02:00
Unknown
5c254ee401
Adjusted implementation to a better one (thanks to Michael Vogel)
2018-08-07 10:18:59 +02:00
Unknown
480d573fc5
converting timezones in php
2018-08-06 12:30:43 +02:00
Unknown
e4049d2793
Converting timezone in admin queues
2018-08-06 09:30:17 +02:00
Roland Häder
bf87ad4fcf
Fixed E_NOTICE in listing worker queue and new utilities class added ( #5521 )
...
* Fixes for E_NOTICE in workqueue:
- introduced class `Friendica\Util\Arrays` which will hold static methods for
handling arrays that cannot be done with PHP's functions, like implode() on
multi-dimensional arrays
- rewrote old-school for() loop to foreach()
* Added intial unit test with some tests on empty delimiters and/or sinle and
multi-dim array.
* Added test for for 3-dimensional arrays, thanks to nupplaphil's feedback.
2018-07-30 21:24:26 -04:00
0257f410d5
mention if a user is blocked in the admin panel user overview
2018-07-30 17:19:22 +02:00
Roland Häder
4a22710b3b
Moved global PAGE_* to Profile class ( #5500 )
...
* Rewrites:
- moved PAGE_* to Friendica\Model\Profile class
* Fixed more rewrites from plain (global namespace) PAGE_* to Friendica\Models\Profile class
* CR request:
- moved all PAGE_* constants to Friendica\Model\Contact class
- fixed all references of both classes
* CR request:
- moved ACCOUNT_TYPE_* constants from boot.php to Contact::ACCOUNT_TYPE_*
* Just copy-pasted this code from boot.php, needs to be changed to `const ACCOUNT_TYPE_FOO = x;`
* Ops, melting brain cells here ... :-/
2018-07-27 19:25:57 -04:00
Michael Vogel
413424064c
Merge pull request #5439 from MrPetovan/task/5410-remove-dbesc
...
Move DBA to src/ part 4.1: Remove dbesc()
2018-07-23 21:51:49 +02:00
Jeroen De Meerleer
d57449623b
Added true to json_decode ( #5471 )
2018-07-23 15:51:08 -04:00
Hypolite Petovan
a6fb3568f9
Rename dbesc to DBA::escape
2018-07-23 15:30:54 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Michael Vogel
2d0a749734
Merge pull request #5431 from MrPetovan/task/5410-rename-database-methods
...
Move DBA to src/ part 3.1: Rename DBA methods
2018-07-23 15:18:58 +02:00
Roland Häder
ffc70bee17
Fixes: ( #5462 )
...
- fixed E_NOTICE about missing array element "page-flags-raw" (should be
"page_flags_raw"?)
- same with account-type-raw -> account_type_raw
- added spaces to nicely indent code
2018-07-22 21:17:44 -04:00
Hypolite Petovan
4db98eb43d
Rename DBA::inArray to DBA::toArray
2018-07-22 19:27:35 -04:00
Hypolite Petovan
591939dfc0
Rename DBA::database_name to DBA::databaseName
2018-07-22 19:27:34 -04:00
Roland Häder
c17adaf333
Uncommon logger levels in Friendica ( #5453 )
...
* "normal" is an uncommon logger level:
- changed LOGGER_NORMAL -> LOGGER_INFO
- added LOGGER_WARNING (a common logger level)
* Used constants instead of values (MrPetovan)
2018-07-22 14:07:44 -04:00
Jeroen De Meerleer
d1d2ee6b2f
Added a for-loop ( #5442 )
...
* Using json_decode instead of reinventing hot water
Guys, you could have told me ;)
* changed spaces to tabs
* Guess I'll need a beer ;)
2018-07-21 17:29:39 -04:00
Jeroen De Meerleer
ddaeb305bc
Worker-details: Using json_decode instead of reinventing hot water ( #5441 )
...
* Using json_decode instead of reinventing hot water
Guys, you could have told me ;)
* changed spaces to tabs
2018-07-21 13:24:03 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Jeroen De Meerleer
b375370c37
Workerqueue param reformat ( #5403 )
...
* Prettified the parameter layout of workerqueue
* Updated to code standards :)
* Where did I go wrong?
* Seems like someone needs to sleep ;)
2018-07-19 09:52:48 -04:00
Jeroen De Meerleer
b265bf2ec3
Prettified the parameter layout of workerqueue ( #5397 )
...
* Prettified the parameter layout of workerqueue
* Updated to code standards :)
* Where did I go wrong?
2018-07-18 16:24:35 -04:00
Hypolite Petovan
dfa461b3bc
Improve help/Config page
...
- Remove obsolete file-only config list
- Fix heading level
- Add transition instruction for $lang
- Add reference to config.ini.php, settings.ini.php and addon.ini.php
- Add link to help page in admin warning about legacy config file
2018-07-17 02:03:39 -04:00
Hypolite Petovan
b260ca4d1e
Fix typo in mod/admin
2018-07-16 19:38:19 -04:00
Hypolite Petovan
820afa2284
Replace global $a with BaseObject::getApp()
2018-07-16 19:38:17 -04:00
Hypolite Petovan
762a786611
Replace direct accesses to App->config by Config::get/set calls
2018-07-16 19:38:16 -04:00
Hypolite Petovan
4d5b79a9d4
Move forbidden_nicknames default to config file
2018-07-16 19:38:15 -04:00
Hypolite Petovan
2e2930d770
Add addon config hook
2018-07-16 19:38:14 -04:00
Hypolite Petovan
2503660f97
Add new INI config files
...
- Add new local.ini.tpl template
- Change all references from .htconfig.php to config/local.ini.php
2018-07-16 19:38:13 -04:00
Jeroen De Meerleer
678efab1c9
Add worker queue details ( #5375 )
...
* Added Worker queue page
* Added worker queue template
* Added translation strings
* Added en-US translation
* #TGWHT: Thank god we have Typo
* Where donkey == true
* Added in to menu correctly
* Updated link in summary page
* Updated link on summary page for frio theme
* Updated q() to dba::select()
* Revert "Added translation strings"
This reverts commit f1f3694a2412f69c39559650759b6483013f0f17.
* Revert "Added en-US translation"
This reverts commit 61777489e3add56e81c4f976599d8a2e025265cb.
2018-07-14 14:01:17 -04:00
80ac7da01d
admins can mark their nodes for explicit content ( #5373 )
...
* added field explicidContent to the metadata in the nodeinfo
* admins can mark their nodes for explicit content
* booleans shall be small
2018-07-14 12:08:06 -04:00
30cef1a739
some plugins left over ( #5369 )
...
* tinymce is not used anymore, we can delete the cuson CSS file
* mv the plugins_details template to addon_details
* renamed template called from admin panel
* some CSS classes that should be addon where still plugin
* Insert a warning into the generated quattro CSS files
2018-07-12 13:18:45 -04:00
Andreas Neustifter
56b6adc396
Fix relocate button label.
...
In settings the 'Start Relocate' button is also labeld 'Save Settings'.
2018-07-09 12:42:32 +02:00
72638acac3
admins can forbid some nicknames from being registered
2018-07-06 15:32:56 +02:00
e40b247118
Increase default number of workers in config
2018-06-20 04:50:15 +00:00
d9bdba491a
We don't poll, we work ... Bugfix for renamed config value.
2018-06-04 21:17:37 +00:00
3f07d01dd1
Get rid of unneeded or redundant fields
2018-06-03 07:42:56 +00:00
Hypolite Petovan
93daf7883e
Merge branch 'master' into develop
...
- Updated new develop version label
- Incremented database build number
2018-06-01 07:30:04 -04:00
Hypolite Petovan
71ab86d0c3
Merge pull request #5150 from abanink/5147
...
5147 Typo 'bandwith' should be 'bandwidth'
2018-05-31 10:35:24 -04:00
Pascal Deklerck
de1e514be3
redo correct typo bandwith to bandwidth in mod/admin.php
2018-05-31 06:38:14 +02:00
Pascal Deklerck
8fd33f89ea
undo change to mod/admin.php
2018-05-30 20:28:38 +02:00
Pascal Deklerck
e1dd1aa358
5147 Typo 'bandwith' should be 'bandwidth'
2018-05-30 08:50:29 +02:00
8329705eba
New function to delete items for users
2018-05-29 05:22:57 +00:00
c65c870032
added a warning to an admin setting
2018-05-26 07:32:39 +02:00
f7c24a20ae
cite: just some small styling thing
2018-05-20 08:43:43 +02:00
ae62c1d1ea
admin panel: added privacy statement preview
2018-05-19 18:52:23 +02:00
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
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
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
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
249d84c0b3
Automatic table optimisation is deactivated by default now
2018-05-13 05:41:05 +00:00
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
eb4650ff23
dbclean settings are now available from the frontend
2018-05-07 05:37:20 +00:00
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