Commit Graph

560 Commits

Author SHA1 Message Date
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
Yassine Doghri 0caa755d3e
ci(gitlabci): restore prepare stage to install dependencies 2021-06-11 09:35:11 +00:00
Yassine Doghri 582f1bd85a
ci: reduce number of concurrent jobs in quality stage + remove prepare stage 2021-06-11 09:35:11 +00:00
Yassine Doghri b40316be7a
ci(gitlabci): use latest castopod-host image from container-registry 2021-06-11 09:35:11 +00:00
Yassine Doghri ccc3c1c224
ci: edit php composer.phar command with composer command 2021-06-11 09:35:10 +00:00
Yassine Doghri 53a934c8ea
ci: use image with already installed composer & npm + add commit msg and js lint stages 2021-06-11 09:35:10 +00:00
Yassine Doghri 88c52db53c
build(docker): optimize Dockerfile and setup vscode devcontainer with all required dependencies
- fix: set mediaBaseURL as baseURL if not defined
- update dev documentation seting up a dev environment
2021-06-11 09:35:09 +00:00
Yassine Doghri a162d6d08f
build: update npm to v7 in Dockerfile and .gitlabci.yml 2021-06-11 09:35:09 +00:00
Yassine Doghri cfd29d84e6
ci: merge husky and captainhook git hooks into .husky configuration
- hooks are installed automatically with npm install command
- add commit-msg, pre-commit and
pre-push hooks
- integrate captainhook commands into the created git hooks
2021-06-11 09:35:09 +00:00
Yassine Doghri 037fccf8e5
ci: fix artifact path name for bundle_app job 2021-06-11 09:35:08 +00:00
Yassine Doghri 4429a3d481
ci: fix PersonModel issues with static analysis 2021-06-11 09:35:08 +00:00
Yassine Doghri 1a024bdec7
ci: fix rector issues for code-review job to pass 2021-06-11 09:35:07 +00:00
Yassine Doghri b51072434b
ci(code-review): add verbose param for debugging 2021-06-11 09:35:07 +00:00
Yassine Doghri 5e0f534322
ci: increase memory limit for phpstan command 2021-06-11 09:35:06 +00:00
Yassine Doghri 5b0c1d9b22
docs: add UPDATE.md for updating instructions + update README.md 2021-06-11 09:35:06 +00:00
Yassine Doghri 6802bee0db
ci(gitlabci): add easy-coding-standard check for code-style + fix quality scripts 2021-06-11 09:35:06 +00:00
Yassine Doghri aa1612342e
style(ecs): add easy-coding-standard to enforce coding style rules for php
- update .devcontainer settings: remove auto-formatting
for php + set intelephense as default formatter
- remove prettier php plugin as it lacks php 8 support
- add captain hook action for checking style pre-commit
- fix style with ecs on all files except views
2021-06-11 09:34:48 +00:00
Yassine Doghri fb3593f828
refactor: remove all empty declarations + add missing type declarations
update composer dependencies
2021-05-18 17:16:36 +00:00
Yassine Doghri 93e605b406
refactor(persons): move podcast and episode persons models to person model for consistency
- fix lazy loading properties + podcast import controller
- rename all snake_case variables to
camelCase
- fix broken routes
- refactor Location construction logic and setters
2021-05-17 17:11:23 +00:00
Yassine Doghri 6b74a9e98a
refactor: update code base to php 8 and set phpstan lvl to 6 2021-05-14 17:59:35 +00:00
Yassine Doghri 4a33c50fb6
ci: add phpstan static analysis to .gitlabci.yml 2021-05-12 15:23:50 +00:00
Yassine Doghri b735b369a7
ci: remove invalid commit-message job 2021-05-12 14:15:37 +00:00
Yassine Doghri 525698d834
ci: remove git hooks before uninstalling composer dev dependencies 2021-05-12 14:12:39 +00:00
Yassine Doghri 231d578d64
refactor: add phpstan and update code to adhere to level 5
- move and refactor Image.php from Libraries to Entities folder
- update some database field names
/ types
- update composer packages
2021-05-12 14:00:25 +00:00
Yassine Doghri b691b927fe
ci(tests): install intl php extension 2021-05-12 10:48:36 +00:00
Yassine Doghri 5c5c6da4be
refactor: add rector to enforce type declarations, code quality + style and remove dead code
- update CI process to include quality stage (tests + code review)
- add captainhook to install git pre-commit & pre-push hooks
- remove .devcontainer Dockerfile to use project's docker-compose services: all
services can now be started automatically using vscode
- update docs/setup-development.md
2021-05-12 10:48:30 +00:00
semantic-release-bot a54a5964c3 chore(release): 1.0.0-alpha.57 [skip ci]
# [1.0.0-alpha.57](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.56...v1.0.0-alpha.57) (2021-05-12)

### Bug Fixes

* **follow:** add missing helpers to Actor controller ([ee53a73](ee53a732dc))
2021-05-12 10:32:49 +00:00
Yassine Doghri ee53a732dc
fix(follow): add missing helpers to Actor controller 2021-05-12 10:22:16 +00:00
semantic-release-bot fca7bd6808 chore(release): 1.0.0-alpha.56 [skip ci]
# [1.0.0-alpha.56](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.55...v1.0.0-alpha.56) (2021-05-12)

### Bug Fixes

* **rss:** use originalPath instead of originalMediaPath in Image library ([b4012b7](b4012b7d2e))
2021-05-12 09:16:14 +00:00
Yassine Doghri 861a805299
ci: remove git hooks folder before release command 2021-05-12 09:08:11 +00:00
Yassine Doghri b4012b7d2e
fix(rss): use originalPath instead of originalMediaPath in Image library 2021-05-12 08:19:09 +00:00
semantic-release-bot 6c7964fd51 chore(release): 1.0.0-alpha.55 [skip ci]
# [1.0.0-alpha.55](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.54...v1.0.0-alpha.55) (2021-05-03)

### Features

* add remote_url alternative for transcript and chapters files ([3143c9a](3143c9ad36))
2021-05-03 17:44:20 +00:00
Yassine Doghri 3143c9ad36 feat: add remote_url alternative for transcript and chapters files 2021-05-03 17:39:58 +00:00
semantic-release-bot 1296187613 chore(release): 1.0.0-alpha.54 [skip ci]
# [1.0.0-alpha.54](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.53...v1.0.0-alpha.54) (2021-05-03)

### Features

* set app parameter forceGlobalSecureRequests = true forcing requests to go through https ([d9dff1b](d9dff1b8bf))
* **ux:** remove admin dashboard and redirect directly to podcast list ([27c48b8](27c48b8fa9))
* add cache to ActivityPub sql queries + cache activity and note pages ([2d297f4](2d297f45b3))

### Performance Improvements

* **cache:** update CI4 to use cache's deleteMatching method ([54b84f9](54b84f9684))
* **docker:** add redis caching service for development ([05ace8c](05ace8cff2))
2021-05-03 15:43:53 +00:00
Yassine Doghri d9dff1b8bf
feat: set app parameter forceGlobalSecureRequests = true forcing requests to go through https
docs: update INSTALL.md to include SSL certificate requirement + update install instructions
2021-05-03 15:32:55 +00:00