Commit Graph

492 Commits

Author SHA1 Message Date
Yassine Doghri 7213ed290c feat(auth): add auth.enable2FA config to enable two-factor authentication
+ update phpstan and rector configs
2022-10-16 13:35:48 +00:00
Yassine Doghri c1287cbe6c refactor(auth): replace myth/auth with codeigniter/shield + define new roles
closes #222
2022-10-16 13:35:26 +00:00
semantic-release-bot c760acc79d chore(release): 1.0.0-beta.24 [skip ci]
# [1.0.0-beta.24](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2022-10-14)

### Bug Fixes

* **router:** trim URI slash to match same routes for URIs with and without trailing slash ([9e9375f](9e9375f9a2))

### Features

* **episode:** add form to allow editing episode's publication date to a past date ([d783d16](d783d16eb7)), closes [#97](https://code.castopod.org/adaures/castopod/issues/97)
* **rss:** add rss feed route without the `.xml` extension ([94c0b7c](94c0b7c159)), closes [#247](https://code.castopod.org/adaures/castopod/issues/247)
2022-10-14 16:32:44 +00:00
crowdin d0d8be7fe3 chore: new Crowdin updates 2022-10-14 16:12:14 +00:00
Yassine Doghri a3ebd6c9a4 refactor(view-components): use CI4's View Decorators to render components 2022-10-14 15:31:16 +00:00
Yassine Doghri a182d96f18 chore: update CI4 to v4.2.7 + dependencies to latest 2022-10-14 14:56:30 +00:00
Yassine Doghri d783d16eb7 feat(episode): add form to allow editing episode's publication date to a past date
This allows podcasters to reorganize their published episodes as they see fit

closes #97
2022-10-14 14:37:03 +00:00
Yassine Doghri 94c0b7c159 feat(rss): add rss feed route without the `.xml` extension
closes #247
2022-10-14 12:50:25 +00:00
Yassine Doghri 9e9375f9a2 fix(router): trim URI slash to match same routes for URIs with and without trailing slash 2022-10-14 12:40:51 +00:00
semantic-release-bot 104438ec5f chore(release): 1.0.0-beta.23 [skip ci]
# [1.0.0-beta.23](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2022-09-29)

### Bug Fixes

* **premium-podcasts:** display unlock button in embed when premium episode ([ca109ba](ca109ba3a8))
* **premium-podcasts:** remove cache in unlock form + redirect to podcast if podcast is not premium ([242352c](242352c4d9))
* **premium-podcasts:** return different cached page when podcast is unlocked ([b1303c5](b1303c5255))

### Features

* add instructions on production error page to ease Castopod debugging process ([9eab54e](9eab54e085)), closes [#224](https://code.castopod.org/adaures/castopod/issues/224)
* add premium podcasts to manage subscriptions for premium episodes ([3234500](3234500e2d)), closes [#193](https://code.castopod.org/adaures/castopod/issues/193)
* **gdpr:** add purpose for granting access to premium content ([47d6d81](47d6d81b79))
2022-09-29 14:40:00 +00:00
Yassine Doghri ca109ba3a8 fix(premium-podcasts): display unlock button in embed when premium episode 2022-09-29 13:34:28 +00:00
Yassine Doghri b1303c5255 fix(premium-podcasts): return different cached page when podcast is unlocked
- clear podcast cache when setting subscription link
- update and add missing translation keys
2022-09-29 10:52:28 +00:00
Yassine Doghri 3234500e2d feat: add premium podcasts to manage subscriptions for premium episodes
closes #193
2022-09-28 15:02:09 +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 9eab54e085 feat: add instructions on production error page to ease Castopod debugging process
closes #224
2022-09-28 12:49:36 +00:00
Yassine Doghri b2db783c8e docs(install): add email/smtp configuration options
closes #147
2022-09-26 14:55:00 +00:00
semantic-release-bot eabe3f3b97 chore(release): 1.0.0-beta.22 [skip ci]
# [1.0.0-beta.22](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2022-09-23)

### Bug Fixes

* **fediverse:** set default castopod avatar url when actor avatar is not present ([460f52f](460f52f70e))
* **import:** set default episode type if not set ([d7250ab](d7250ab03f))
* **input-component:** unset required attribute to prevent rendering it when false ([db9ac13](db9ac13860))
* **notifications:** notify actors after activities insert / update using model callback methods ([e08555a](e08555a4e9))
* overwrite getActorById to return app's Actor entity ([f2bc2f7](f2bc2f7e01))
* remove heavy image cover data from audio file metadata ([f74403b](f74403bd7a))
* set storage limit as disk_total_space instead of free space ([7512e2e](7512e2ed1f))
* **ui:** remove empty tooltip when hovering on sponsor button ([40aa661](40aa661289))
* **users:** remove required roles input when editing user + prevent owner's roles from being edited ([1c8af75](1c8af7550b)), closes [#239](https://code.castopod.org/adaures/castopod/issues/239)
* **ux:** have podcast dashboard card link to podcast dashboard if only one podcast in instance ([7dabee5](7dabee58a1))
2022-09-23 16:20:14 +00:00
crowdin 7b66f46ae2 chore: new Crowdin updates 2022-09-23 15:51:26 +00:00
Yassine Doghri db9ac13860 fix(input-component): unset required attribute to prevent rendering it when false 2022-09-23 11:59:47 +00:00
Yassine Doghri f74403bd7a fix: remove heavy image cover data from audio file metadata 2022-09-23 10:10:21 +00:00
Yassine Doghri f2bc2f7e01 fix: overwrite getActorById to return app's Actor entity 2022-09-14 10:21:14 +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
Yassine Doghri 460f52f70e fix(fediverse): set default castopod avatar url when actor avatar is not present 2022-09-07 10:04:02 +00:00
semantic-release-bot 3bb7572abb chore(release): 1.0.0-beta.21 [skip ci]
# [1.0.0-beta.21](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2022-09-06)

### Bug Fixes

* **email:** set the correct url in the activation and forgot emails ([10fc6f1](10fc6f17c6)), closes [#204](https://code.castopod.org/adaures/castopod/issues/204)
* **notifications:** add trigger after activities update + update insert trigger ([e5d16e8](e5d16e8711))

### Features

* **i18n:** add support for Simplified Chinese (zh-Hans) and Catalan (ca) locales ([48d1443](48d1443472))
2022-09-06 15:49:52 +00:00
Yassine Doghri 48d1443472 feat(i18n): add support for Simplified Chinese (zh-Hans) and Catalan (ca) locales 2022-09-06 15:30:07 +00:00
crowdin 3fc9734161 chore: new Crowdin updates 2022-09-06 14:55:46 +00:00
Yassine Doghri 10fc6f17c6 fix(email): set the correct url in the activation and forgot emails
- add default values for Config/Email properties
- set mariadb to the minimal required version for development

fixes #204
2022-08-24 09:45:36 +00:00
crowdin c4a07c29f1 chore: new Crowdin updates 2022-08-22 15:56:51 +00:00
Yassine Doghri 37f086075e chore: update CodeIgniter to 4.2.4 + other dependencies to latest 2022-08-22 15:36:29 +00:00
Ola Hneini e5d16e8711 fix(notifications): add trigger after activities update + update insert trigger 2022-08-15 10:06:45 +00:00
semantic-release-bot 9222975856 chore(release): 1.0.0-beta.20 [skip ci]
# [1.0.0-beta.20](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2022-08-12)

### Bug Fixes

* add underline and semibold font weight for prose links to have them stand out ([d4d8671](d4d867121c))
* **router:** check if Accept header is set before getting value ([10a2ae0](10a2ae0248)), closes [#228](https://code.castopod.org/adaures/castopod/issues/228)
* **search-episodes:** add fallback sql query using LIKE for search query with less than 4 characters ([e66bf44](e66bf44341)), closes [#236](https://code.castopod.org/adaures/castopod/issues/236)
* set interact_as_actor for user upon password reset ([ad8f5f5](ad8f5f5a0f)), closes [#178](https://code.castopod.org/adaures/castopod/issues/178)

### Features

* add label to sponsor button on podcast page ([c29c018](c29c018c7a)), closes [#162](https://code.castopod.org/adaures/castopod/issues/162)
* add notifications inbox for actors ([999999e](999999e3ef)), closes [#215](https://code.castopod.org/adaures/castopod/issues/215)
2022-08-12 16:37:29 +00:00
Ola Hneini 999999e3ef feat: add notifications inbox for actors
closes #215
2022-08-12 16:08:09 +00:00
Yassine Doghri 10a2ae0248 fix(router): check if Accept header is set before getting value
fix deprecation warnings for getHeader and getHeaders methods

refs #228
2022-08-01 10:13:16 +00:00
Yassine Doghri d4d867121c fix: add underline and semibold font weight for prose links to have them stand out
+ fix typo: "whitespace-no-wrap" --> "whitespace-nowrap"
2022-07-22 16:45:55 +00:00
semantic-release-bot fab916ee8a chore(release): 1.0.0-beta.19 [skip ci]
# [1.0.0-beta.19](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2022-07-21)

### Bug Fixes

* **episode-unpublish:** set consistent posts_counts' increments/decrements for actors and episodes ([8acdafd](8acdafd260)), closes [#233](https://code.castopod.org/adaures/castopod/issues/233)
* **get_browser_language:** return defaultLocale if browser doesn't send user preferred language ([9cc2996](9cc2996261))

### Features

* **episode-unpublish:** remove episode comments upon unpublish ([78acd7f](78acd7f5c0))
2022-07-21 17:04:07 +00:00
Yassine Doghri 78acd7f5c0 feat(episode-unpublish): remove episode comments upon unpublish 2022-07-21 16:37:22 +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 9cc2996261 fix(get_browser_language): return defaultLocale if browser doesn't send user preferred language 2022-07-18 16:07:44 +00:00
crowdin b5263107da chore: new Crowdin updates 2022-07-14 09:03:44 +00:00
semantic-release-bot 455efae00f chore(release): 1.0.0-beta.18 [skip ci]
# [1.0.0-beta.18](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2022-07-07)

### Bug Fixes

* **player-styling:** revert vite to 2.8 to reference the player css ([e07d3af](e07d3afea9))

### Features

* add legalNoticeURL to app config for setting an external url to legal notice ([711843a](711843a0c8))
2022-07-07 17:37:01 +00:00
Yassine Doghri 711843a0c8 feat: add legalNoticeURL to app config for setting an external url to legal notice 2022-07-07 10:08:04 +00:00
semantic-release-bot 98a8a480a7 chore(release): 1.0.0-beta.17 [skip ci]
# [1.0.0-beta.17](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2022-07-06)

### Bug Fixes

* explicitly cast seconds to int in iso8601_duration helper function ([779653f](779653f75b))
* **housekeeping:** use EpisodeModel's builder to reset comments count ([65e9c0b](65e9c0b05e))
* **rss:** round episode durations and soundbites ([c9fb987](c9fb987fcf)), closes [#214](https://code.castopod.org/adaures/castopod/issues/214)
* **xml-editor:** prettify xml even without root node ([ca55c24](ca55c248d0))

### Features

* add publish feature for podcasts and set draft by default ([3d363f2](3d363f2efe)), closes [#128](https://code.castopod.org/adaures/castopod/issues/128) [#220](https://code.castopod.org/adaures/castopod/issues/220)
* **admin:** add instance wide dashboard with storage and bandwidth usage ([b1a6c02](b1a6c02e56)), closes [#216](https://code.castopod.org/adaures/castopod/issues/216)
* **datetime-picker:** set material_green theme to flatpickr ([3ce6541](3ce6541003))
2022-07-06 15:47:53 +00:00
Yassine Doghri b1a6c02e56 feat(admin): add instance wide dashboard with storage and bandwidth usage
* add DashboardCard component
* add instance wide podcasts and episodes numbers
* add app.storageLimit environment variable
* divide bytes by 1000 instead of 1024 in stats sql queries

closes #216
2022-07-06 15:29:15 +00:00
Ola Hneini 3d363f2efe feat: add publish feature for podcasts and set draft by default
closes #128, #220
2022-07-05 16:39:20 +00:00
crowdin 9843ce3882 chore: new Crowdin updates 2022-07-04 13:27:21 +00:00
Yassine Doghri 3ce6541003 feat(datetime-picker): set material_green theme to flatpickr
upgrade docker dev's php version to 8.1
2022-07-04 12:52:55 +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 ca55c248d0 fix(xml-editor): prettify xml even without root node
- update js dependencies to latest
- add indentWithTab to xml-editor
- tailwindcss 3.1: replace withOpacity with <alpha-value>
2022-07-03 08:07:20 +00:00
Yassine Doghri c9fb987fcf fix(rss): round episode durations and soundbites
refs #214
2022-07-02 11:04:16 +00:00
Yassine Doghri 779653f75b fix: explicitly cast seconds to int in iso8601_duration helper function
episode page was unaccessible on with php8.1 and dev mode
2022-07-02 10:37:55 +00:00