Commit Graph

136 Commits (aea944c8b569f63a9a004978a345feb6c7796c4b)

Author SHA1 Message Date
Hypolite Petovan b0ee9fdf2a [advancedcontentfilter] Update Composer dependencies ahead of release
- Removing symfony/polyfill-apcu (v1.28.0)
- Removing psr/simple-cache (1.0.1)
- Updating psr/http-message (1.1 => 2.0)
- Downgrading psr/container (2.0.2 => 1.1.2)
- Updating slim/slim (4.12.0 => 4.13.0)
- Installing symfony/polyfill-php80 (v1.29.0)
- Installing symfony/var-exporter (v5.4.35)
- Installing symfony/deprecation-contracts (v2.5.2)
- Installing symfony/service-contracts (v2.5.2)
- Installing symfony/polyfill-php73 (v1.29.0)
- Installing symfony/cache-contracts (v2.5.2)
- Updating symfony/cache (v3.4.47 => v4.4.48)
2024-03-19 23:10:07 -04:00
Hypolite Petovan 46c65b79be [advancedcontentfilter] Improve error handling
- Add Logger to Slim application to log to Friendica log file
- Show more specific error message when rule syntax check fails
- Align editorconfig with Composer style
- Add minimum PHP version to composer.json
2024-03-19 22:57:32 -04:00
Hypolite Petovan 3c0f4e3926 [advancedcontentfilter] Stop using advancedcontentfilter_get_rules() outside of router context
- This used to work with Slim v2, but the new requirements for module functions broke it
2024-03-04 01:16:49 -05:00
Hypolite Petovan a30e9b788c [advancedcontentfilter] Migrate Slim to version 4 to avoid PHP 8.2 deprecation error
- Fix https://github.com/friendica/friendica/issues/13822
2024-01-22 19:04:23 +01:00
Benjamin Lorteau 6a46d05bca [advancedcontentfilter] Fix obsolete reference to Repository\PostMedia->splitAttachments 2023-11-14 16:25:06 -05:00
Tobias Diekershoff 1c677722b3 translations updates for 2023.03 2023-04-09 07:58:49 +02:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Tobias Diekershoff 53b1c9208a SV translation Update THX BBjoessi# 2022-11-18 15:03:02 +01:00
Michael fc3222cd2d Unneeded parameter removed 2022-11-13 23:39:48 +00:00
Hypolite Petovan 2643259a93 [various] Move mod/settings.php to src/Module
- Remove reference to mod/settings.php
- Update settings/addons route
2022-11-05 00:03:07 -04:00
Hypolite Petovan 7522a8eb9a [advancedcontentfilter] Ship standalone Vue 2 library with addon
- The Composer Bower package stopped including the dist/vue.min.js which was required by the addon
2022-10-28 21:16:27 -04: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
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 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
Tobias Diekershoff d304873049
advanced content filter added RU translation THX Alexander An 2022-05-31 07:05:28 +02:00
Tobias Diekershoff 19ae3851e8
advancedcontentfilter addon HU translation update THX Balázs Úr 2022-05-25 08:37:28 +02:00
Tobias Diekershoff bb1ca9ee92
PL translation advancedcontentfilter THX strebski 2022-05-13 16:32:32 +02:00
Tobias Diekershoff 4eec2841f4
DE translation advancedcontentfilter updated 2022-05-13 16:31:57 +02:00
Hypolite Petovan 444330d91f [advancedcontentfilter] Update main translation file after string was added 2022-05-11 09:00:41 -04: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
Tobias Diekershoff 931be19eca
DA DK translation for various addons added THX atjn 2022-05-02 12:26:36 +02:00
Tobias Diekershoff ed96e0a2f6
PL translation update THX strebski 2022-03-08 16:26:19 +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 4d7c1e795d
Merge pull request #1025 from hoergen/develop
Typos removed (hopefully)
2021-11-24 08:51:47 -05:00
Tobias Diekershoff 365c09619c PL translation advancedcontentfilter THX Joe Doe 2021-11-16 12:34:03 +01:00
Tobias Diekershoff 38344b2234 AR translation of advancedcontentfilter addon updated THX abidin toumi 2021-10-27 13:59:21 +02:00
Michael 0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +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
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 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 a295a4097a advancedcontentfilter: Add language values to filter fields (#10052, #10136) 2021-04-11 09:03:14 +00:00
Tobias Diekershoff 291c85c7af advancedcontentfilter updated ES translation THX Senex Petrovic 2021-04-06 06:32:20 +02:00
Tobias Diekershoff 2af78ab674 FR translation update advancedcontentfilter THX Wil Tur 2021-03-28 19:47:08 +02:00
Tobias Diekershoff 523bddc3b8 advancedcontentfilter addon HU translation update THX Balázs Úr 2021-03-28 19:16:33 +02:00
Tobias Diekershoff 5bc4a79d80 DE translation advancedcontentfilter updated 2021-03-01 07:57:04 +01:00
Tobias Diekershoff 7ce6bb3d4d advancedcontentfilter added ES translation THX Boris Daniel Martinez Millàn 2021-02-06 08:08:23 +01: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