Commit Graph

635 Commits

Author SHA1 Message Date
Yassine Doghri 8c4e02e953 build: add spark to Castopod bundle for handling CLI requests
useful to run commands and create CLI scripts
2022-09-08 12:50:25 +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
Yassine Doghri 1c8af7550b fix(users): remove required roles input when editing user + prevent owner's roles from being edited
fixes #239
2022-09-07 09:41:58 +00:00
Yassine Doghri 7512e2ed1f fix: set storage limit as disk_total_space instead of free space 2022-09-07 08:27:28 +00:00
Yassine Doghri 707dd0800e docs(install): add missing user privileges for database 2022-09-06 16:21:26 +00:00
Yassine Doghri 8c4f0675c1 build(docker): add missing $ to get CP_VERSION's environment variable 2022-09-06 16:19:06 +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 355f3bf674 docs(all-contributors): add irithys, caos30 and ghose as translators 2022-09-06 15:30:07 +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 f3c1ddb3b1 chore: update CI4 to 4.2.6 + composer and npm dependencies to latest 2022-09-06 12:25:43 +00:00
Yassine Doghri 2a2cb3efdb chore: upgrade CI4 to v4.2.5 + update other dependencies to latest
- add file associations for env and .rsync-filter files
- include version lens to .devcontainer config
2022-08-31 10:50:19 +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
Romain de Laage 029804b9f8 build(docker): add build for tagged versions on main, beta and alpha 2022-08-23 09:50:00 +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
root c29c018c7a feat: add label to sponsor button on podcast page
closes #162
2022-08-12 16:08:09 +00:00
Ola Hneini ad8f5f5a0f fix: set interact_as_actor for user upon password reset
closes #178
2022-08-12 16:06:26 +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 e66bf44341 fix(search-episodes): add fallback sql query using LIKE for search query with less than 4 characters
fixes #236
2022-07-28 15:11:25 +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 a40d636cfa docs(all-contributors): update contributors list 2022-07-21 16:49:16 +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
Romain de Laage 78152d8412 docs: complete docker page and translate it to french
closes #230
2022-07-11 10:36:57 +00:00
Yassine Doghri b7e2c09297 docs(docker): add page describing castopod's docker images and example usage with docker-compose
refs #230
2022-07-08 16:40:22 +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 e07d3afea9 fix(player-styling): revert vite to 2.8 to reference the player css
A bug in the latest vite release (v2.9.13) prevents the player styling
from being referenced in the manifest.
2022-07-07 17:19:02 +00:00
Yassine Doghri 8cbc902a75 docs(contributions): recognize any kind of contribution with all-contributors spec
- add contributors list to readme and docs' index page
- add CONTRIBUTING.md file redirecting to docs website
- add "translate castopod" section to guidelines
2022-07-07 16:41:34 +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 3b73c67250 refactor(rest-api): move rest api's enabled flag to the RestApi config 2022-06-29 16:22:10 +00:00
Yassine Doghri 68777dd54c refactor(docker): rename CP_HOST_BACK to CP_APP_HOSTNAME 2022-06-27 15:31:35 +00:00
Yassine Doghri 65e9c0b05e fix(housekeeping): use EpisodeModel's builder to reset comments count 2022-06-27 14:56:08 +00:00
Romain de Laage 0c0730be69 build(docker): add production-ready DockerFiles
- add docker images for app (castopod) and web-server (nginx)
- ci: deploy images continuously to a docker hub using kaniko
- ci: trigger docker-build-rolling on develop branch
- move development DockerFile to docker directory

closes #200
2022-06-26 12:03:22 +00:00