Commit Graph

494 Commits

Author SHA1 Message Date
Yassine Doghri 37c54d2477 feat: build hashed static files to renew browser cache
- replace rollup config with vitejs
- use vite dev server during development to take advantage of
hot module replacement (HMR)
- add vite service using Vite library to load css and js assets
- update package.json scripts and remove unnecessary
dependencies
- update scripts/bundle-prepare.sh

closes #107
2021-07-12 17:47:56 +00:00
semantic-release-bot cdc660e3b0 chore(release): 1.0.0-alpha.62 [skip ci]
# [1.0.0-alpha.62](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.61...v1.0.0-alpha.62) (2021-07-02)

### Bug Fixes

* **episode:** replace guid's empty string value to null ([441052a](441052af8d))
2021-07-02 07:15:10 +00:00
Yassine Doghri 441052af8d
fix(episode): replace guid's empty string value to null
New episodes were no longer published on some platforms: the item guid was no longer set for new
episodes.
2021-07-02 06:42:03 +00:00
semantic-release-bot 3b5ce93c1b chore(release): 1.0.0-alpha.61 [skip ci]
# [1.0.0-alpha.61](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.60...v1.0.0-alpha.61) (2021-06-23)

### Bug Fixes

* **release:** add missing version number to castopod-host package ([8f3e9d9](8f3e9d90c1))
* **ux:** allow for empty message upon episode publication and warn user on submit ([33d01b8](33d01b8d4f)), closes [#129](https://code.podlibre.org/podlibre/castopod-host/issues/129)
2021-06-23 15:54:31 +00:00
Yassine Doghri 7b8494d2b3
ci: update lint-commit-msg.sh script 2021-06-23 14:53:31 +00:00
Yassine Doghri 33d01b8d4f
fix(ux): allow for empty message upon episode publication and warn user on submit
- clarify distiction between the announcement post and the show notes
- change "note" occurences in UI by "post"
- show warning message explaining why the podcaster should fill the message area
- the podcaster
can choose to publish the episode with an empty message anyways
- redirect user to episode
dashboard with error message when episode publication pages are inaccessible instead of showing a
404 error
- add a cancel publication button in publish-edit form when episode is scheduled

closes #129
2021-06-23 13:34:59 +00:00
Yassine Doghri 8f3e9d90c1
fix(release): add missing version number to castopod-host package 2021-06-23 13:34:58 +00:00
Yassine Doghri ec35d5e49d
docs: update linux user namespace section in setup-development.md 2021-06-23 13:34:58 +00:00
Yassine Doghri 134a071add
refactor: rename all occurences of notes to statuses 2021-06-23 13:34:53 +00:00
semantic-release-bot ddeabf5665 chore(release): 1.0.0-alpha.60 [skip ci]
# [1.0.0-alpha.60](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.59...v1.0.0-alpha.60) (2021-06-21)

### Features

* **rss:** add ˂podcast:guid˃ tag for channel ([1fab10e](1fab10eb0d))
2021-06-21 12:08:38 +00:00
Benjamin Bellamy 1fab10eb0d feat(rss): add ˂podcast:guid˃ tag for channel 2021-06-21 11:58:43 +00:00
Yassine Doghri 603df2d5af
docs(update): add note to reset files permissions 2021-06-15 13:22:33 +00:00
semantic-release-bot cc0d56a2f5 chore(release): 1.0.0-alpha.59 [skip ci]
# [1.0.0-alpha.59](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.58...v1.0.0-alpha.59) (2021-06-15)

### Bug Fixes

* check that additional files are valid when creating episode ([eac5bc8](eac5bc876d))
2021-06-15 07:15:18 +00:00
Yassine Doghri eac5bc876d
fix: check that additional files are valid when creating episode 2021-06-15 06:41:28 +00:00
semantic-release-bot 7cb4e3a803 chore(release): 1.0.0-alpha.58 [skip ci]
# [1.0.0-alpha.58](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.57...v1.0.0-alpha.58) (2021-06-11)

### Bug Fixes

* cast actor_id to pass as int to set_interact_as_actor() function ([56a8e5d](56a8e5d7dd))
* **analytics:** set duration field to precise decimal as episode's audio file duration ([d772685](d772685405))
* **analytics:** update migrations to set decimal precision for latitude and longitude ([714d6b5](714d6b5d49))
* check for database connection and podcasts table existence before redirecting to install ([eb74e81](eb74e81c3d))
* save transcript and chapters files to podcasts folder ([63f49c7](63f49c719f))
* set cache expiration to next note publish to show note on publication date ([0a66de3](0a66de3e6c))
* set episode description footer to null when empty value ([3a7d97d](3a7d97d660))
* set location to null when getting empty string ([71b1b5f](71b1b5f775))
* update condition in home controller to redirect to install page ([33f1b91](33f1b91d55))
* **activity-pub:** cache issues when navigating to activity stream urls ([7bcbfb3](7bcbfb32f7))
* **activity-pub:** get database records using new model instances ([92536dd](92536ddb38))
* **category:** remove uncategorized option to enforce users in choosing a category ([8c64f25](8c64f25a0e))
* **install:** redirect manually to install wizard on first visit ([2ceaaca](2ceaaca44f))
* **types:** update fake seeders types + fix bugs ([76a4bf3](76a4bf3441))
* update broken contributor dropdown fields ([e5b7515](e5b7515023))
* **ux:** redirect user to install page on database error in home page ([9017e30](9017e30bf4))
* update condition in AnalyticsTrait ([fbc0967](fbc0967caa))

### Performance Improvements

* **cache:** use deleteMatching method to prevent forgetting cached elements in models ([76afc0c](76afc0cfa2))

### Reverts

* set deprecated config options back in App config ([433745f](433745f194))
2021-06-11 16:15:37 +00:00
Yassine Doghri 56a8e5d7dd
fix: cast actor_id to pass as int to set_interact_as_actor() function 2021-06-11 15:34:11 +00:00
Yassine Doghri d772685405
fix(analytics): set duration field to precise decimal as episode's audio file duration 2021-06-11 14:51:14 +00:00
Yassine Doghri 714d6b5d49
fix(analytics): update migrations to set decimal precision for latitude and longitude
add unsigned for soundbites start time and duration
2021-06-11 13:01:42 +00:00
Yassine Doghri 63f49c719f
fix: save transcript and chapters files to podcasts folder 2021-06-11 09:35:25 +00:00
Yassine Doghri 8d9bba4e9f
refactor: clean episode analytics url by removing `podcasts/` prefix 2021-06-11 09:35:25 +00:00
Yassine Doghri 3a7d97d660
fix: set episode description footer to null when empty value
change Database connection import with db_connect helper
2021-06-11 09:35:24 +00:00
Yassine Doghri 33f1b91d55
fix: update condition in home controller to redirect to install page 2021-06-11 09:35:24 +00:00
Yassine Doghri eb74e81c3d
fix: check for database connection and podcasts table existence before redirecting to install
fix signature regex
2021-06-11 09:35:23 +00:00
Yassine Doghri cacd228098
build: update php dependencies, especially myth-auth and update phpstan config 2021-06-11 09:35:23 +00:00
Yassine Doghri ac5b2d6e94
ci(bundle): update bundle-prepare script 2021-06-11 09:35:23 +00:00
Yassine Doghri 71b1b5f775
fix: set location to null when getting empty string 2021-06-11 09:35:22 +00:00
Yassine Doghri 2ceaaca44f
fix(install): redirect manually to install wizard on first visit
update php dependencies
2021-06-11 09:35:22 +00:00
Yassine Doghri cc9e4c7dc7
refactor(rector): update contributor controller's remap logic 2021-06-11 09:35:21 +00:00
Yassine Doghri 92536ddb38
fix(activity-pub): get database records using new model instances
update types and some remap logic
2021-06-11 09:35:21 +00:00
Yassine Doghri 4a28127bc4
style: prettify composer.lock 2021-06-11 09:35:20 +00:00
Yassine Doghri 76a4bf3441
fix(types): update fake seeders types + fix bugs 2021-06-11 09:35:20 +00:00
Yassine Doghri c72f4be6d8
refactor: add strict types declaration before each file and fix activitypub issues
fix some style issues
2021-06-11 09:35:19 +00:00
Yassine Doghri 76afc0cfa2
perf(cache): use deleteMatching method to prevent forgetting cached elements in models 2021-06-11 09:35:19 +00:00
Yassine Doghri 7bcbfb32f7
fix(activity-pub): cache issues when navigating to activity stream urls 2021-06-11 09:35:19 +00:00
Yassine Doghri e5b7515023
fix: update broken contributor dropdown fields 2021-06-11 09:35:18 +00:00
Yassine Doghri 9017e30bf4
fix(ux): redirect user to install page on database error in home page
When first visiting the home page, users would see an error message that was normal because Castopod
Host wasn't installed yet. From now on, the error is caught to redirect users directly to install
page, preventing them seeing the error and thus, resulting in a better user experience.
2021-06-11 09:35:18 +00:00
Yassine Doghri 0a66de3e6c
fix: set cache expiration to next note publish to show note on publication date
fix episode, podcast and persons forms + episode scheduling
2021-06-11 09:35:17 +00:00
Yassine Doghri fbc0967caa
fix: update condition in AnalyticsTrait 2021-06-11 09:35:17 +00:00
Yassine Doghri 8c64f25a0e
fix(category): remove uncategorized option to enforce users in choosing a category
Apple podcasts requires a category to submit a valid podcast RSS feed. The "uncategorized" category
is not a valid category.
2021-06-11 09:35:16 +00:00
Yassine Doghri 433745f194
revert: set deprecated config options back in App config 2021-06-11 09:35:16 +00:00
Yassine Doghri 91a9670e22
refactor: update app starter files to CI4 4.1.2 2021-06-11 09:35:16 +00:00
Yassine Doghri 89ac4979f2
ci: increase artifacts expire_in for dependencies + reorganise bundle & release jobs 2021-06-11 09:35:15 +00:00
Yassine Doghri 4730411e9b
ci: call the right scripts for the js lint stage 2021-06-11 09:35:15 +00:00
Yassine Doghri cb3935bf12
ci: automatically prettify CHANGELOG.md during release stage 2021-06-11 09:35:14 +00:00
Yassine Doghri 65d0a79186
ci: expire dependency artifacts in 15 min
+ fix typo: missing extension in lint-commit-msg.sh script
2021-06-11 09:35:14 +00:00
Yassine Doghri 051951e946
ci: pass node_modules as artifact for js dependencies
prettify composer.lock file
2021-06-11 09:35:14 +00:00
Yassine Doghri 038d8b6f6b
ci: use artifacts instead of cache to share dependencies between jobs 2021-06-11 09:35:13 +00:00
Yassine Doghri 57f4c9db81
ci(git-hooks): add verbose param to commitlint command 2021-06-11 09:35:13 +00:00
Yassine Doghri a66805d440
ci: move captainhook command before other commands in pre-commit hook 2021-06-11 09:35:12 +00:00
Yassine Doghri 278b6c5a82
ci: add cache key for getting cached folders into jobs 2021-06-11 09:35:12 +00:00