Commit Graph

59 Commits (ff3fdd1d5649f6d49144a7d814458fe420c2a433)

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Michael fc3222cd2d Unneeded parameter removed 2022-11-13 23:39:48 +00:00
Philipp b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
Michael 5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04: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 3bda8dfa32
Changes:
- changed more double-quotes to single
- cleaned up js_upload/file-uploader/server/php.php a lot
- added some type-hints
2022-06-23 06:09:29 +02:00
Roland Häder 04466968dc
Let's avoid local variables 2022-06-22 18:19:52 +02:00
Hypolite Petovan 3455871f40 [advancedcontentfilter] Use a random item to validate fields on rule save
- Remove hard-coded list of allowed fields
2022-05-11 09:00:19 -04: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
Michael 0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +00:00
Hypolite Petovan 23a02dbde7 [advancedcontentfilter] Remove event.adjust field from available fields to match 2021-10-04 08:18:46 -04:00
Hypolite Petovan 217643f67d [advancedcontentfilter] Clear rule cache anytime rules are changed in the database
- This was preventing updated rules from being applied immediately as the cached rules were still in effect
2021-08-16 06:10:34 -04:00
Hypolite Petovan b141416b51 [advancedcontentfilter] Add new attachments key in filter
- Follows a change in Model\Item::prepareBody to enable filtering on attachments (images, sounds, videos, downloads...)
2021-08-16 06:09:40 -04:00
Michael 9ad7500146 Remove the use of app function 2021-08-08 17:10:04 +00:00
Michael e823a1bd05 Replaced direct calls to App->user 2021-08-08 11:17:08 +00:00
Michael f878d2e463 Replaced argv/argc with replacement functions 2021-07-25 12:29:43 +00:00
Michael a295a4097a advancedcontentfilter: Add language values to filter fields (#10052, #10136) 2021-04-11 09:03:14 +00:00
Michael 3715293ca5 Use the new dbstructure update function 2021-01-30 13:32:43 +00:00
Michael 1533d9a758 Addons are now using the new post functions 2021-01-17 00:00:32 +00: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
Steffen K9 33fc7240e6
Issue 8680: Fix slim application error
This should fix https://github.com/friendica/friendica/issues/8680
2020-05-23 16:30:55 +02:00
Michael 471bcc1b63 Updated addons for new tag handling 2020-05-05 22:47:43 +00:00
Hypolite Petovan f2772b87c0 [advancedcontentfilter] Update HTTPException handling 2020-03-10 18:44:27 -04:00
nupplaPhil 191e298504
add missing namespaces/fix wrong class-names 2020-01-19 16:31:48 +01:00
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
Benjamin Lorteau 92fed96116 [advancedcontentfilter] Enable rule caching
- Fix broken reference to Friendica\Core\Cache
2020-01-10 14:05:27 -05:00
Hypolite Petovan b1eefb5a48 Update obsolete Module\Login reference to Module\Security\Login 2019-12-29 21:55:37 -05:00
nupplaPhil 382ca2b3bc
Restored Hook::register and added Hook::add 2019-12-23 01:36:32 +01:00
nupplaPhil 838c28f171
Add more indention :-) 2019-12-22 20:36:19 +01:00
nupplaPhil 4f4b9f26c1
Fix dbstructure update hook for advancedcontentfilter 2019-12-22 19:36:28 +01:00
Hypolite Petovan b308f3bc05
[avancedcontentfilter] Fix typo in exception name 2019-11-24 14:20:57 -05:00
Hypolite Petovan 37dd8a938b
Merge pull request #803 from nupplaphil/config_refact
Config Refactoring
2019-02-06 10:52:02 -05:00
Philipp Holzer b8a492c80e
4) Adding Factories to other entrypoints 2019-02-03 22:46:49 +01:00
Tobias Diekershoff 08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan 85b5715a44 Remove require include/* 2018-12-26 00:36:43 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -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
Hypolite Petovan 13f2734f42 [advancedcontentfilter] Move NULL_DATE to DBA::NULL_DATETIME 2018-10-21 02:53:07 -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
Hypolite Petovan 6670ee769d [advancedcontentfilter] Suppress rule evaluation errors 2018-08-22 20:27:00 -04:00
Hypolite Petovan 6e07bf3d29 [advancedcontentfilter] Move Vue template from DOM to compiled render functions (redux) 2018-08-05 14:26:48 +02:00
Hypolite Petovan d014fa3e28 [advancedcontentfilter] Fix notice messages 2018-08-05 14:26:24 +02:00
Hypolite Petovan 04ddb284da Revert "Merge pull request #682 from MrPetovan/bug/5341-advancedcontentfilter-honors-csp"
This reverts commit e79d738437, reversing
changes made to 20e42c09b7.
2018-08-05 13:42:53 +02:00
Hypolite Petovan 97aa353652 [advancedcontentfilter] Move Vue template from DOM to compiled render functions 2018-08-04 15:59:04 +02:00
Hypolite Petovan f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan 332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Hypolite Petovan 2d2167c146 [advancedcontentfilter] Rename DBA::inArray to DBA::toArray 2018-07-20 22:16:16 -04:00