Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
7f143c3159
Fix various spelling mistakes
2018-10-14 11:32:54 -04:00
Philipp Holzer
059bd1307f
rename argv to getArgumentValue
2018-10-13 19:05:54 +02:00
Philipp Holzer
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
Philipp Holzer
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
Philipp Holzer
307286fc47
parameters and getURLpath to getURLPath
2018-10-10 01:18:47 +02:00
Philipp Holzer
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
Hypolite Petovan
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
Michael
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
Tobias Diekershoff
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 f1f3694a24
.
* Revert "Added en-US translation"
This reverts commit 61777489e3
.
2018-07-14 14:01:17 -04:00