Commit Graph

482 Commits

Author SHA1 Message Date
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
Yassine Doghri 65e9c0b05e fix(housekeeping): use EpisodeModel's builder to reset comments count 2022-06-27 14:56:08 +00:00
semantic-release-bot de8b1df948 chore(release): 1.0.0-beta.16 [skip ci]
# [1.0.0-beta.16](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2022-06-24)

### Bug Fixes

* change image size requirement hints ([ea20206](ea20206ee6))

### Features

* add update rss feed feature for podcasts to import their latest episodes ([5eb9dc1](5eb9dc168e)), closes [#183](https://code.castopod.org/adaures/castopod/issues/183)
* **admin:** add search form in podcast episodes list ([6be5d12](6be5d12877)), closes [#26](https://code.castopod.org/adaures/castopod/issues/26)
* **api:** add rest api with podcasts read endpoints ([e64001d](e64001d006)), closes [#210](https://code.castopod.org/adaures/castopod/issues/210)
2022-06-24 08:06:30 +00:00
Sebastian Janik e64001d006 feat(api): add rest api with podcasts read endpoints
relates to #210
2022-06-22 11:06:53 +00:00
Yassine Doghri 6be5d12877 feat(admin): add search form in podcast episodes list
closes #26
2022-06-17 12:52:36 +00:00
Yassine Doghri 9f4a467ad4 chore: update CI4 to 4.2.1 2022-06-17 08:14:39 +00:00
semantic-release-bot cca973e9c2 chore(release): 1.0.0-beta.15 [skip ci]
# [1.0.0-beta.15](https://code.castopod.org/adaures/castopod/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2022-06-14)

### Bug Fixes

* replace deletedField with published_at for episodes ([14d7d07](14d7d07822))

### Features

* add default icons to Alert component ([0d98001](0d9800123b))
* add permanent delete feature for podcasts 🎉 ([dbb4030](dbb4030da4)), closes [#89](https://code.castopod.org/adaures/castopod/issues/89)
* apply colour theme to embed player ([9548337](9548337a7c)), closes [#201](https://code.castopod.org/adaures/castopod/issues/201)
* **episodes:** replace soft delete with permanent delete ([eb9ff52](eb9ff522c2))
2022-06-14 13:35:04 +00:00
Yassine Doghri 14d7d07822 fix: replace deletedField with published_at for episodes
- remove delete_at field + soft delete for media and pages
- update CodeIgniter4 to 4.2.0 + update all starter files
- explicitly use builder() when creating queries from model
2022-06-13 16:30:34 +00:00
Ola Hneini dbb4030da4 feat: add permanent delete feature for podcasts 🎉
closes #89
2022-06-07 11:13:06 +00:00
Ola Hneini 0d9800123b feat: add default icons to Alert component 2022-05-16 11:57:39 +00:00
Ola Hneini eb9ff522c2 feat(episodes): replace soft delete with permanent delete
+ add constraint to prevent deleting an episode when published
2022-05-05 15:48:16 +00:00