Commit graph

56 commits

Author SHA1 Message Date
Michael b406d737b5 Replacing numberic values with constants for the BBCode conversion 2020-05-16 16:48:08 +00:00
Philipp Holzer f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
Philipp Holzer 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
Philipp Holzer a26bfe79e9
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
Philipp Holzer febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
Philipp Holzer ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
Hypolite Petovan d3717045f7 [various] Replace remaining $a->page by DI::page() 2019-12-30 15:53:43 -05:00
Hypolite Petovan 905823ea63 Update obsolete App::getBaseUrl calls to DI::baseUrl 2019-12-29 21:55:10 -05:00
Philipp Holzer 0b56ff0aa0
Add DI::auth() call to windowsphonepush 2019-12-28 15:18:18 +01:00
Philipp Holzer d6736eddf5
Move Cookie to own class (with tests)
Move Authentication to App namespace
2019-12-08 22:45:33 +01:00
Philipp Holzer c62774f6d2
Refactor "Authentication" class with four main methods:
- withSession() - for auto authentication with Session/Cookie variables
- withOpenId() - for authentication with an OpenID account
- withPassword() - for authentication with Password
- setForUser() - for setting the user auth context of the current session

Refactor "Session" class - contains now "native" Session Management methods
2019-12-03 22:29:36 +01:00
Hypolite Petovan 3481b5774a [windowsphonepush] Move Authentication::setAuthenticatedSessionForUser to Session::setAuthenticatedForUser 2019-05-13 01:41:49 -04:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan eaeb834819 Replace deprecated Addon::callHooks by Hook::callAll 2018-12-26 10:20:17 -05:00
Hypolite Petovan aa5fbb4994 Replace killme() by exit() 2018-12-26 10:20:16 -05:00
Hypolite Petovan d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Tobias Diekershoff 477bdcec89 translation updates 2018-11-16 21:16:09 +01:00
Adam Magness c9a8974165 Logger Levels
update logger levels
2018-10-30 09:48:09 -04:00
Adam Magness 49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
Jonny Tischbein 0bb8fdfde2 renaming and moving from security to Model/Item and BaseModule 2018-10-17 21:34:15 +02:00
Jonny Tischbein e7f4dc8454 Move include/security to /src/Core/Authentication.php and /src/Util/Security.php 2018-10-17 18:58:05 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Tobias Diekershoff dcbf2f4416 NL translation THX JeroenED 2018-08-25 21:12:02 +02:00
Hypolite Petovan 57505bdf82 [multiple] Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:20:48 -04:00
Hypolite Petovan abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Tobias Diekershoff 767e7b78e5 ZH CN windowsphonepush translation 2018-06-18 11:30:35 +02:00
Michael c66dcf96ac New user based item function 2018-06-17 17:04:23 +00:00
Michael 392bb7d5aa Remove direct item sql queries 2018-06-17 06:20:47 +00:00
Tobias Diekershoff ebf9119a5a added CS translation of the windowsphonepush addon THX Aditoo 2018-06-10 08:17:01 +02:00
Tobias Diekershoff ca50db103a update to the FI translations THX kris 2018-05-20 19:16:32 +02:00
Tobias Diekershoff eb5eb5986d update to the FI translations 2018-04-09 15:00:17 +02:00
Tobias Diekershoff 85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00
fabrixxm 3f7685d8a8 Merge branch 'master' into develop 2018-03-23 11:52:12 +01:00
fabrixxm bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
Hypolite Petovan ab0f359602 Replace htmlt2* with HTML class methods
- Remove references to include/html2*.php
2018-03-07 16:48:34 -05:00
Hypolite Petovan 88ca2f5a1e Remove references to include/bbcode.php 2018-02-14 22:04:06 -05:00
Hypolite Petovan 91fd77af3b Refactor bbcode() into BBCode::convert() 2018-02-14 21:43:40 -05:00
Adam Magness b191d5716c Remove sprintf with translations
don't use sprintf with translation functions
2018-01-23 22:59:20 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Hypolite Petovan 3e418dc5a0 Fix remaining call_hooks 2018-01-21 00:11:18 -05:00
Adam Magness 96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -05:00
Adam Magness c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Hypolite Petovan a66a4959f5 Rename selectOne to selectFirst 2018-01-10 08:37:11 -05:00
Hypolite Petovan ca6e477701 Replace dba::select(limit => 1) by dba::selectOne() 2018-01-09 22:27:30 -05:00
Hypolite Petovan eadf7066e0 Use User::authenticate in addons
- dav
- jappixmini
- windowsphonepush
2017-12-01 23:03:49 -05:00
Hypolite Petovan 46e09b0544 Fix formatting
- dav
- jappixmini
- windowsphonepush
2017-12-01 22:55:48 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Fabio b5701ac885 Update IT strings 2017-01-18 14:04:53 +01:00