Commit Graph

62 Commits

Author SHA1 Message Date
Yassine Doghri bb628f355f refactor: add modules folder to phpstan paths + fix errors 2024-04-28 16:41:24 +00:00
Yassine Doghri 51b064d67a refactor(icons): use php-icons library to load and display icons 2024-04-26 17:57:25 +00:00
Yassine Doghri d4a36f811b chore: update CodeIgniter to 4.5.1 + other dependencies to latest 2024-04-26 09:26:22 +00:00
Yassine Doghri 5fd0980ff7 fix(fediverse): use config name to get Fediverse config properties instead of hardcoded class string 2024-02-20 10:01:16 +00:00
Yassine Doghri d0a94dd2cb chore: update php and js dependencies to latest 2024-02-17 13:01:39 +00:00
Yassine Doghri 164f4d3be7 fix(models): set updatedField as empty string when not used 2024-01-16 09:26:14 +00:00
Yassine Doghri 97d793f55e fix(housekeeping): remove unnecessary $tablePrefix variable when resetting post count
fixes #383
2023-11-17 17:29:05 +00:00
Yassine Doghri 6a7ef0109a fix(nodeinfo2): import database config + use dynamic table prefix for active local actors query 2023-11-17 17:29:05 +00:00
Yassine Doghri 2d52fa1046 fix: reorder podcast form fields + extract sync feeds to its own form
- update fields' styling
- update icons contents
2023-11-17 17:29:05 +00:00
Yassine Doghri ffa530e187 fix(fediverse): use NoteObject including episode link in content (hotfix) 2023-09-26 15:20:25 +00:00
Yassine Doghri 2dd9cc9ef5 chore(phpstan): remove redundant dynamicConstantNames
+ update quality tools
2023-09-26 14:56:04 +00:00
Yassine Doghri 4ecb42f7c8 fix(fediverse): do not cache remote action form + fix typo on post routes for passing post uuid
+ remove unnecessary session->start() directive
2023-09-17 10:07:59 +00:00
Yassine Doghri 3189f12206 fix(fediverse): update post controller namespace in routes 2023-09-15 16:40:07 +00:00
Yassine Doghri 2c07070b2c refactor: use Validation::getValidated() when using $this->validate() in controllers 2023-09-09 10:23:34 +00:00
Yassine Doghri 77c2d08b6e build: add phpstan-codeigniter extension to manage config(), model() and service() functions 2023-09-09 10:23:34 +00:00
Yassine Doghri ae57601c83 fix: update Router to include latest CI changes with alternate-content logic 2023-09-09 10:23:34 +00:00
Yassine Doghri 7ff1dbe903 fix: remove fediverse prefix to prevent migration error + load routes during podcast import
refactor migration queries to use forge functions
2023-09-09 10:23:34 +00:00
Yassine Doghri b4f1b916bf fix(routes): overwrite RouteCollection to include all routes + update js and php dependencies 2023-09-09 10:23:34 +00:00
Yassine Doghri 4ccb363a3d refactor(modules): add Registrars to declare filter aliases 2023-09-09 10:23:34 +00:00
Yassine Doghri 9b955c9ce2 fix(s3): allow CORS for served static files 2023-07-19 15:04:17 +00:00
Yassine Doghri 082cdc9ee7 fix(fediverse): expand object before sending accept follow request
fixes #350
2023-07-05 14:57:05 +00:00
Yassine Doghri 06c4f15477 fix(fediverse): check that actor's images mimetype is present or guess it otherwise
fixes #348
2023-06-26 11:46:52 +00:00
Yassine Doghri d8e1d4031d feat(import): run podcast imports' processes asynchronously using tasks
- use codeigniter4/tasks project to handle cron tasks
- use yassinedoghri/podcast-feed project to parse feeds for imports
2023-06-21 16:17:11 +00:00
Yassine Doghri 4c1a3e5015 refactor: fix some of phpstan's ignored errors 2023-06-13 16:05:02 +00:00
Yassine Doghri 2a50f6e4d2 style: update ecs config to align associative arrays arrows
update composer dependencies to latest
2023-06-12 15:12:49 +00:00
Yassine Doghri c682f03a67 fix: replace essence with embera to create preview cards 2023-05-09 11:55:16 +00:00
Yassine Doghri a00e45ea4c build: update js and php dependencies to latest 2023-04-14 11:22:12 +00:00
Yassine Doghri a76724a8cf fix(s3): add proxy to serve images from s3 to client
refs #321
2023-04-13 11:46:31 +00:00
Yassine Doghri d93fc98469 feat(media): add s3 to manage media files
Users may choose between filesystem (FS) or S3 to store and manage their media files
2023-03-16 13:00:05 +00:00
Yassine Doghri 84a6447fd4 ci: fix lint and formatting issues 2023-02-22 16:29:45 +00:00
Yassine Doghri 46d70541d3 fix(notifications): remove cache inconsistencies when marking notification as read 2022-12-09 16:44:59 +00:00
Yassine Doghri 7fbbd08da6 fix(notifications): retrieve activity from database instead of getting cache 2022-12-07 14:00:38 +00:00
Yassine Doghri c13cfa0ea0 fix(router): revert to CI4 v4.2.7 to include all routes 2022-11-24 15:30:24 +00:00
Yassine Doghri 1d6b177a55 fix: update actorUsername regex to get url_to actor
Since CI4 v4.2.8, the actor route is not retrieved anymore, this prevents users from creating a
podcast.
2022-11-18 17:38:40 +00:00
Yassine Doghri 0eb223baa0 chore: update CodeIgniter to v4.2.10 2022-11-17 13:10:34 +00:00
Yassine Doghri 3a57538572 build: set minimal php version to 8.1
closes #225
2022-10-17 14:17:50 +00:00
Yassine Doghri b6114d3d93 chore: update rector to latest and use parallel for faster processing
update composer dependencies to latest
2022-09-28 14:00:46 +00:00
Yassine Doghri e08555a4e9 fix(notifications): notify actors after activities insert / update using model callback methods
--> Remove sql triggers because most shared hosting plans prevent using them
2022-09-08 11:50:23 +00:00
Ola Hneini 999999e3ef feat: add notifications inbox for actors
closes #215
2022-08-12 16:08:09 +00:00
Yassine Doghri 8acdafd260 fix(episode-unpublish): set consistent posts_counts' increments/decrements for actors and episodes
Some episodes could not be unpublished because of out of range error when removing posts.

fixes #233
2022-07-21 13:56:10 +00:00
Yassine Doghri 81f790868a chore: update quality tools + rewrite some migration files
* update php packages to latest
* update rector and ecs config
* update ci4/settings package to v2.1
2022-07-03 16:42:20 +00:00
Yassine Doghri 4e22a0d5e4 fix: use UTC_TIMESTAMP() to get current utc date instead of NOW() in sql queries 2022-04-14 14:33:53 +00:00
Yassine Doghri 90e44437bd fix: remove cache from remote follow form to display error messages 2022-03-15 14:05:19 +00:00
Yassine Doghri cd2e1e1dc3 fix(security): add csrf filter + prevent xss attacks by escaping user input
- update CI4 to v4.1.9's stable production package
- update php and js dependencies to latest
2022-03-04 14:36:32 +00:00
Yassine Doghri fa5b5f51a4 docs(init): create documentation website using vitepress
- rename podlibre to adaures
- rename castopod-host to castopod
- simplify README and redirect to docs site
- move INSTALL and UPDATE docs
- add new gitlabci pipeline to deploy docs
- upgrade node to v16 in Dockerfile
2022-02-19 16:06:11 +00:00
Yassine Doghri 91128fad7a fix(fediverse): set model instances as non shared to prevent overlapping 2022-02-05 11:40:30 +00:00
Yassine Doghri 2f2480998f fix(activitypub): allow cors on get requests for routes exposing acitivitypub objects 2022-02-05 10:57:02 +00:00
Yassine Doghri 0128a21ec5 fix(activitypub): add target_actor_id for create activity to broadcast post reply 2022-02-03 14:12:47 +00:00
Yassine Doghri 962dd305f5 fix(activitypub): add target actor id to like / announce activities to send directly to note's actor 2022-02-03 14:12:47 +00:00
Yassine Doghri 8fbf948fbb fix(activitypub): add conditions for possibly missing actor properties + add user-agent to requests 2022-02-03 14:12:36 +00:00