Commit graph

92 commits

Author SHA1 Message Date
Philipp Holzer b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
Hypolite Petovan 0f6ea75bb7 [various] Improve formatting 2022-10-19 09:47:48 -04:00
Michael 5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04:00
Tobias Diekershoff 4487b2a923 FR translation of various addons updated 2022-08-19 19:37:09 +02:00
Roland Häder 3ab46781b1
Changes:
- if a <addon>_module() function is empty, it is more a statement and not a
  real function
2022-06-24 23:35:16 +02:00
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Tobias Diekershoff bea8d103bf
mark the whindowsphonepush as unsupported
The Windows Phone app for Friendica does not seem to exist anymore (see https://www.microsoft.com/store/p/friendica-mobile/9nblggh0fhmn) which was linked from a promo video as store location. So lets set it to unsupported and deprecate it once 2022.09 was released.
2022-06-11 13:56:52 +02:00
Tobias Diekershoff 931be19eca
DA DK translation for various addons added THX atjn 2022-05-02 12:26:36 +02:00
Tobias Diekershoff 34c7094790
PL translation updates THX strebski 2022-03-18 17:10:36 +01:00
Tobias Diekershoff ed96e0a2f6
PL translation update THX strebski 2022-03-08 16:26:19 +01:00
Tobias Diekershoff 1e60ac18cf DE addon translation update 2022-01-22 18:52:57 +01:00
Tobias Diekershoff 484482a4ce HU addon translation update THX Balázs Úr 2022-01-22 18:52:30 +01:00
Tobias Diekershoff 631b456755 SV addon translation update THX Kristoffer Grundström 2022-01-22 18:50:50 +01:00
Hypolite Petovan 3104d176e7 [various] Updated translation files after editing several strings 2021-11-29 06:55:24 -05:00
Hypolite Petovan 779b38ec09 [various] Convert addon_settings hook functions to the new data array format
- Add separate template files to several addons
- Remove superfluous addon settings CSS files
2021-11-29 06:55:16 -05:00
Hypolite Petovan 2bae6a41c3 [windowsphonepush] Simplify authentication structure 2021-11-07 10:45:27 -05:00
Michael 25b267c6da Replaced deprecated functionalities 2021-11-07 14:01:30 +00:00
Michael 6a349e7fd9 Support for cleared boot.php 2021-11-04 20:32:16 +00:00
Tobias Diekershoff 86de95f77b added AR translations to the Friendica addons
Thanks to the work of طاهر, Farida Khalaf, محمد أحمد, abidin toumi, Abdullah Alsabi, ButterflyOfFire and ominds the translation of Friendica into Arabic has crossed the magic 50% progress mark, so we now include their work into the addons repository.
2021-10-10 12:55:16 +02:00
Tobias Diekershoff 25ba6023d0 regenerated all the strings 2021-10-10 08:27:53 +02:00
Michael 793eca1f7b Replaced the last occurences of "q" 2021-10-07 19:30:10 +00:00
Michael Vogel 674249ccfc
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-03 20:58:52 +02:00
Michael 428c6876f0 Replacing "q" calls with "DBA" calls 2021-10-03 17:35:20 +00:00
Michael e823a1bd05 Replaced direct calls to App->user 2021-08-08 11:17:08 +00:00
Michael cc8aeb11de Updated messages.po 2021-07-25 13:17:48 +00:00
Michael f878d2e463 Replaced argv/argc with replacement functions 2021-07-25 12:29:43 +00:00
Michael 9eaa6a2c08 Use "convertForUriId" when possible 2021-07-10 07:40:39 +00:00
Tobias Diekershoff a537f280e7 ES translation of the windowsphonepush addon updated THX Senex Petrovic 2021-04-06 06:40:48 +02:00
Hypolite Petovan 7777f08047
Merge pull request #1082 from annando/no-item
All references to the item table had been removed
2021-02-14 11:05:11 -05:00
Michael 05a805398e All references to the item table had been removed 2021-02-14 08:18:02 +00:00
Tobias Diekershoff 500aab3c53 regenerated all strings.php files from the current translation strings (message.po) 2021-02-01 18:47:38 +01:00
Tobias Diekershoff 7f3704ae54 regenerated messages.po files of the addons 2021-02-01 18:29:42 +01:00
Michael 1533d9a758 Addons are now using the new post functions 2021-01-17 00:00:32 +00:00
Tobias Diekershoff 25af6e0c11 windowsphonepush addon added HU translation THX Balázs Úr 2020-12-23 21:55:51 +01:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
Michael 3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
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