Commit Graph

50 Commits

Author SHA1 Message Date
Yassine Doghri cdeb8bf26e build(devcontainer): add migration and DevSeed command to run post devcontainer creation
update dev setup docs + build and deploy docs everytime
2024-03-12 09:32:22 +00:00
Yassine Doghri 3187b0144f ci: set specific mariadb version for mariadb service in tests 2024-02-21 14:43:53 +00:00
Yassine Doghri d50cbb09d1 ci: invert build stage with deploy stage because docker images take a long time to build 2023-06-21 18:30:05 +00:00
Yassine Doghri 34777598dd build: replace npm with pnpm + add Dockerfile for ci
update php and js dependencies to latest
2023-02-22 14:36:56 +00:00
Yassine Doghri b99f70cc60 ci(docker): revert docker job condition 2022-11-17 14:30:22 +00:00
Yassine Doghri 0bb1c9635a ci: fix docker build job rules by including main branch 2022-11-07 13:38:27 +00:00
Yassine Doghri 3419369af0 docs(docker): add tags for specific versions and latest builds
update gitlabci: do not run docker build if CP_VERSION.env file is not present
2022-10-24 15:41:08 +00:00
Yassine Doghri 3a57538572 build: set minimal php version to 8.1
closes #225
2022-10-17 14:17:50 +00:00
Yassine Doghri c745fd8b28 ci(gitlabci): set base image with php8.0 tag 2022-10-17 14:04:47 +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
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
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
Yassine Doghri a37e407483 chore: create test database on mariadb init + harmonize test database credentials 2022-06-22 14:28:58 +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 5e5e9b2b3f ci(gitlabci): skip bundle job for forked projects 2022-02-22 15:16:37 +00:00
Yassine Doghri 4a9ed75435 ci(gitlabci): skip running lint-commit-msg job during merge requests 2022-02-22 14:13:06 +00:00
Yassine Doghri 88858042d2 ci(gitlabci): trigger deployment of the castopod.org website after release 2022-02-20 14:32:35 +00:00
Yassine Doghri f58f712aa6 chore: replace group slug from ad-aures to adaures in repo url
this fixes the adblocker loading viewer error
2022-02-20 13:23:57 +00:00
Yassine Doghri fa5b5f51a4 docs(init): create documentation website using vitepress
- rename podlibre to adaures
- rename castopod-host to castopod
- simplify README and redirect to docs site
- move INSTALL and UPDATE docs
- add new gitlabci pipeline to deploy docs
- upgrade node to v16 in Dockerfile
2022-02-19 16:06:11 +00:00
Yassine Doghri 0ee53c71ff fix(bundle): update vite input files path + add `set -e` in bash scripts to fail if command fails 2022-01-18 18:51:25 +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 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 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 a162d6d08f
build: update npm to v7 in Dockerfile and .gitlabci.yml 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 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 6802bee0db
ci(gitlabci): add easy-coding-standard check for code-style + fix quality scripts 2021-06-11 09:35:06 +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 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
Yassine Doghri 861a805299
ci: remove git hooks folder before release command 2021-05-12 09:08:11 +00:00
Yassine Doghri 3143c9ad36 feat: add remote_url alternative for transcript and chapters files 2021-05-03 17:39:58 +00:00
Yassine Doghri fad06e697d
refactor: replace castopod ➡ castopod-host
- rename all occurences of castopod to castopod host
- docs: update contribution guidelines
-
docs: update README to include guidance for help and links to socials
- remove
castopod_namespace.json
2021-05-03 15:32:55 +00:00
Yassine Doghri a98e7fbced ci(release): delete all local git tags before release script to prevent collisions if failure 2020-11-24 16:46:23 +00:00
Yassine Doghri 6c36888a21 ci(release): automate castopod versioned releases using semantic-release
closes #38
2020-10-16 15:17:08 +00:00
Benjamin Bellamy 03e23a28bf feat: update analytics so to meet IABv2 requirements
- https://iabtechlab.com/wp-content/uploads/2017/12/Podcast_Measurement_v2-Dec-20-2017.pdf
  - no IP address is ever stored on the server. Only aggregate data is stored in the dababase.
  - rolling 24-hour window
  - castopod does not do pre-load
  - IP Blacklisting https://github.com/client9/ipcat
  - user-agent Filtering https://github.com/opawg/user-agents
  - ignores 2 bytes range "Range: 0-1" (performed by official Apple iOS Podcast app)
  - in case of partial content, adds up all requests to check >1mn was downloaded
  - identifying Uniques is done with a combination of IP Address and User Agent
- add AMcharts
- add some graphs
- add regions to analytics
- add ipcat blacklist
- enhance useragents performances
- add filesize and header size in order to calculate 1mn downloads
- update publisher ID3 field
- update castopod icon
- add disclaimer and warning import form translation
- update docs/setup-development.md

closes #10
2020-10-15 14:42:02 +00:00
Yassine Doghri cbc5d0891d ci: define app bundle script in .gitlab-ci.yml
set `bundle/` folder in .gitignore

closes #8
2020-10-15 14:41:46 +00:00