Commit Graph

425 Commits

Author SHA1 Message Date
Yassine Doghri 7609bb6033 feat: add Noto Sans Mono font to use for durations + button to access new video clip form in list 2021-12-29 12:10:13 +00:00
Yassine Doghri db0e4272bd feat(video-clip): generate video clips in the bg using a cron job + add video clip page + tidy up UI 2021-12-29 12:10:13 +00:00
Yassine Doghri 42538dd757 feat(video-clip): add video-clip page with video preview + logs 2021-12-29 12:10:13 +00:00
Yassine Doghri 2065ebbee5 feat(video-clips): add route for scheduled video clips + list video clips with status 2021-12-29 12:10:13 +00:00
Yassine Doghri 2f6fdf9091 feat(clips): setup clip entities and model + save video clip to have it generated in the background 2021-12-29 12:10:13 +00:00
Yassine Doghri 057559183c refactor(migrations): replace 191 value with more relevant one 2021-12-29 12:10:13 +00:00
Yassine Doghri a9989d841a fix(import): save media files during podcast import + set missing media fields 2021-12-29 12:10:13 +00:00
Yassine Doghri 58e2a00a87 feat(media): save audio, images, transcripts and chapters to media for episode and persons 2021-12-29 12:10:13 +00:00
Yassine Doghri fafaa7e689 feat(media): clean media api + create an entity per media type 2021-12-29 12:10:13 +00:00
Yassine Doghri b09acf6c65 build: update dependencies to latest
remove console.logs + add @github/hotkey to replace markdown toolbar shortcuts
2021-12-29 12:10:11 +00:00
Yassine Doghri 6ecf2866cf feat: add media entity and link documents, images and audio files to it 2021-12-29 12:09:32 +00:00
Yassine Doghri 1d1490b06a feat(video-clips): add new themes + add castopod logo as a watermark
fix video colors to portray exact rgb values using libx264rgb encoding + image transparency issue
when overlaying images with php gd
2021-12-29 12:09:32 +00:00
Yassine Doghri e462abf6d6 feat(video-clips): replace hardcoded colors with config's theme colors 2021-12-29 12:09:32 +00:00
Yassine Doghri 827ca03f61 refactor(color-themes): set themes declaration as a config property + generate css file dynamically 2021-12-29 12:09:32 +00:00
Yassine Doghri 71a063dac3 feat(video-clips): allow episodeNumbering text to stand in the indent of episodeTitle paragraph 2021-12-29 12:09:32 +00:00
Yassine Doghri 3af404da3d feat(video-clips): add dimensions for portrait and squared formats 2021-12-29 12:09:32 +00:00
Yassine Doghri 35aa7ea5d9 feat(video-clips): generate a 16:9 video using ffmpeg 2021-12-29 12:09:32 +00:00
Yassine Doghri fee2c1c0d0 feat(pwa): add service-worker + webmanifest for each podcasts to have them install on devices
- configure service-worker using vite-plugin-pwa
- refactor Image entity to generate images of
different types based on size config
- add requirement for webp library for php gd to generate webp
images for instance
- add action to regenerate all instance images for eventual Images config
changes
- enhance google lighthouse metrics for pwa
2021-12-29 12:09:31 +00:00
Yassine Doghri 902f959b30 feat: add schema.org json-ld objects to podcasts, episodes, posts and comments pages
- refactor meta-tags by generating them in the controller and injecting them into the views
- use
`melbahja/seo` library to build opengraph and twitter meta-tags + schema.org objects
2021-12-29 12:06:13 +00:00
Yassine Doghri 5c529a83aa feat(settings): add theme settings to set an accent color for all public pages
set 6 base accent colors: pine, lake, jacaranda, crimson, amber and onyx
2021-12-29 12:06:13 +00:00
Yassine Doghri a746a781b4 feat(themes): set generic css variables for colors to enable instance themes
- set new colors using the css variables for theming in tailwind.config.js
- replace admin and
public colors with new variable enabled colors
2021-12-29 12:06:10 +00:00
Yassine Doghri 4a8147bfbb feat: add podcast banner field for each podcast + refactor images configuration
- rename image fields on podcast, episode and persons for better clarity
- set different sizes
config for podcast cover, banner and persons avatars
- add tiny size for covers
- fix responsive
on admin forms
2021-12-29 12:04:04 +00:00
Yassine Doghri 5c56f3e6f0 feat(settings): add general config for instance (site name, description and icon) 2021-12-29 12:04:01 +00:00
Yassine Doghri 776eec6f0d fix: remove fixed size from podcast sidebar + rearrange account info + space out import radio inputs 2021-12-29 12:03:17 +00:00
Yassine Doghri d0f9c6018f feat: add replied to post or comment to reply element 2021-12-29 12:03:17 +00:00
Yassine Doghri 8208ab6785 feat: style file inputs using tailwind's file class 2021-12-29 12:03:17 +00:00
Yassine Doghri f0205ec274 feat: toggle podcast sidebar on smaller screens
update tailwind to v3.0.0-alpha with its official plugins (forms, typography)
2021-12-29 12:03:15 +00:00
Yassine Doghri a505a1de56 feat: restyle episode and person cards + add focus style to interactive elements for a11y
fix components in follow and remote action pages by calling new instances directly
2021-12-29 12:02:53 +00:00
Yassine Doghri 025b2f42e6 refactor: replace "embeddable-player" occurrences to "embed" 2021-12-29 12:02:53 +00:00
Yassine Doghri be5a28787f fix(layouts): replace holy-grail layout with tailwind config + widen public podcast layout
- add rounded classes with conditional border-radius depending on screen width
- add ring-castopod
class to use on focus states
2021-12-29 12:02:51 +00:00
Yassine Doghri 932140077c feat: redesign public podcast and episode pages + remove any information clutter for better ux
- add About podcast page
- use different layout for episode pages
- improve on user feedback with
design
- restructure app theme folders
- update js packages to latest versions
2021-12-29 12:02:14 +00:00
Yassine Doghri e3bd9df00e refactor: update podcast card style + create partial for public navigation 2021-12-29 12:01:42 +00:00
Yassine Doghri 2c0efc6563 feat: simplify podcast page's layout for better ux 2021-12-29 12:01:40 +00:00
Yassine Doghri f75bd76458 fix: unpublish episode before deleting it + add validation step before deletion
fixes #112, closes #55
2021-12-29 12:00:55 +00:00
Yassine Doghri b9db936461 fix: pass timezone to relative time component to show the localized time in the UI 2021-12-29 12:00:55 +00:00
Yassine Doghri abb7fbac27 feat: add DropdownMenu component + remove global audio player in admin 2021-12-29 12:00:55 +00:00
Yassine Doghri d60498c1be feat(admin): make header stick on scroll and show title + action buttons using css only 2021-12-29 12:00:53 +00:00
Yassine Doghri 99a3b8d33e fix: set episode numbers during import + remove all custom form_helpers + minor ui issues 2021-12-29 11:58:06 +00:00
Yassine Doghri b05d177f1b fix: update MarkdownEditor component + restyle Button and other components 2021-12-29 11:55:43 +00:00
Yassine Doghri 746b518789 refactor: replace ui function components with class components + fix
soundbites js
2021-12-29 11:55:43 +00:00
Yassine Doghri 5413d09737 style: update app layout and map view styles 2021-12-29 11:55:43 +00:00
Yassine Doghri bfa11d007d feat(fonts): replace Montserrat with Inter for better readablity 2021-12-29 11:55:43 +00:00
Yassine Doghri e64548b982 feat: replace form helper functions with components in admin template 2021-12-29 11:55:43 +00:00
Yassine Doghri 6536729546 feat: integrate stylized form components and update podcast edit page 2021-12-29 11:55:43 +00:00
Yassine Doghri 23bdc6f8e3 feat: add heading component + update ecs rules to fix views 2021-12-29 11:55:43 +00:00
Yassine Doghri a50abc138d feat: update pine colors + create charts components 2021-12-29 11:55:43 +00:00
Yassine Doghri d86142ebe7 feat(admin): update admin layout for better ux + update brand pine colors 2021-12-29 11:55:41 +00:00
Yassine Doghri 7a276764e6 feat(themes): add ViewThemes library to set views in root themes folder
app, admin, install and authentication views are now located in root themes/ folder
2021-12-29 11:54:52 +00:00
Yassine Doghri 58c8839902 refactor(componentrenderer): update locateView using a lookupModules property in config 2021-12-29 11:54:52 +00:00
Yassine Doghri a95de8bab0 feat(components): add custom view renderer with ComponentRenderer adapted from bonfire2
- update Component class structure and remove component helper function and ComponentLoader
- update residual activitypub naming to fediverse
2021-12-29 11:54:50 +00:00
Yassine Doghri 5083cd2fda refactor(modules): extract castopod parts into a modules/ folder for a scalable HMVC structure
- create Admin, Analytics, Auth, Fediverse and Install modules in the root modules/ folder
- rename
ActivityPub to Fediverse
2021-12-29 11:54:22 +00:00
Yassine Doghri 94872f2338 feat(ui): create ViewComponents library to enable building class and view files components
- replace some helper components and forms with class components in the ui
- create viewcomponents
service and load the component function to be used in views
2021-12-29 11:54:22 +00:00
Yassine Doghri fcecbe1c68 fix(comments): add comment view partials for public pages 2021-12-29 11:54:22 +00:00
Yassine Doghri 0c187ef7a9 feat(comments): add like / undo like to comment + add comment page 2021-12-29 11:54:22 +00:00
Yassine Doghri bb4752c35e feat(comments): add comments to episodes + update naming of status to post
- remove confusing counts for episode (total favourites, total reblogs)
- add comments section to
episode page to display episode comments + post replies linked to the episode
2021-12-29 11:54:22 +00:00
Yassine Doghri 3ff1364906 chore: update php dependencies to latest 2021-12-29 11:54:20 +00:00
Yassine Doghri f15f26240c feat: add codemirror to display xml editor for custom rss field
- replace hardcoded label values for play_episode_button component
2021-12-29 11:37:16 +00:00
Yassine Doghri 578022b8c5 feat: replace slug field with interactive permalink component
- create permalink-edit web component with slug editing and permalink copy functionalities
- add
@github/clipboard-copy-element
- update npm packages
- replace vscode extension lit-html with
lit-plugin to get css intellisense
2021-12-29 11:37:16 +00:00
Yassine Doghri 230e139e43 feat: make displayed publication time as relative time using @github/time-elements 2021-12-29 11:37:16 +00:00
Yassine Doghri 0e14eb4d3f feat: add js audio player on podcast, admin and embeddable player pages + fix admon episodes ux
- use vimejs as audio player
- add global audio player + play episode buttons on public pages
-
refactor admin episodes list from a grid to a data table
- arrange episode cards to be more
readable

closes #131
2021-12-29 11:37:16 +00:00
Yassine Doghri b72e7c8691 fix: expire default query cache upon scheduled episode publication
fix #81
2021-12-29 11:37:16 +00:00
Yassine Doghri 7fdea63de7 fix(persons): set person picture as optional for better ux
- use default avatar image if person image is not set
- add thumbnail and medium default avatar
images
- set default avatar images directly in public/media folder
- remove public/media's root
folder from .gitignore
- remove unnecessary copy:images script and cpy-cli package

closes #125
2021-12-29 11:37:16 +00:00
Yassine Doghri 0dd3b7e0bf fix(rss): do not escape podcast and episode titles in the xml
- add parameter to prevent escaping value in SimpleRSSElement's addChild method
- clean prosemirror residue (typedef + DEPENDENCIES.md)
- remove type definition generation in tsconfig

fixes #138, #71
2021-12-29 11:37:16 +00:00
Yassine Doghri 9ec1cb93da fix(md-editor): build new markdown editor with lit + github/markdown-toolbar-element
- create markdown-write-preview + markdown-preview webcomponents using lit
- create
form_markdown_editor helper form component
- simplify form_dropdown and form_multiselect
components
- fix partner fields display

fixes #93, #94, #120
2021-12-29 11:37:16 +00:00
Yassine Doghri 910d457cf8 feat(select): enhance select input with choices.js
- select fields come with a search field
- update language names by fixing missing caps in
LanguageSeeder
- add parent to categoryOptions
2021-12-29 11:37:16 +00:00
Yassine Doghri 9dd4c7741e fix: rename podcast name to podcast handle to clarify field usage
- podcast name was too vague and didn't come clearly for users: handle is more relevant
- update
package.json dependencies and remove unnused packages

closes #126
2021-12-29 11:37:16 +00:00
semantic-release-bot 3a0a76d705 chore(release): 1.0.0-alpha.80 [skip ci]
# [1.0.0-alpha.80](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.79...v1.0.0-alpha.80) (2021-12-29)

### Bug Fixes

* add application/octet-stream mimetype to mp3 and m4a extensions to prevent ext_in error ([339bef8](339bef878e)), closes [#145](https://code.podlibre.org/podlibre/castopod-host/issues/145)
2021-12-29 10:08:43 +00:00
Yassine Doghri 339bef878e fix: add application/octet-stream mimetype to mp3 and m4a extensions to prevent ext_in error
fixes #145
2021-12-29 09:46:32 +00:00
semantic-release-bot ece476b388 chore(release): 1.0.0-alpha.79 [skip ci]
# [1.0.0-alpha.79](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.78...v1.0.0-alpha.79) (2021-12-20)

### Bug Fixes

* **import:** set episode and season numbers to null when not present in item tag ([3211398](3211398c78))
2021-12-20 16:42:51 +00:00
Yassine Doghri 3211398c78 fix(import): set episode and season numbers to null when not present in item tag
update getid3 to latest dev branch
2021-12-20 16:31:03 +00:00
semantic-release-bot 548234aa4d chore(release): 1.0.0-alpha.78 [skip ci]
# [1.0.0-alpha.78](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.77...v1.0.0-alpha.78) (2021-12-15)

### Bug Fixes

* **import:** add extension when downloading file without + truncate slug if too long ([c5f18bb](c5f18bb6dc))
2021-12-15 16:08:58 +00:00
Yassine Doghri c5f18bb6dc fix(import): add extension when downloading file without + truncate slug if too long 2021-12-15 15:44:58 +00:00
semantic-release-bot d86315ed94 chore(release): 1.0.0-alpha.77 [skip ci]
# [1.0.0-alpha.77](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.76...v1.0.0-alpha.77) (2021-11-23)

### Bug Fixes

* **cors:** add preflight option routes for episode, podcast and status objects ([a281abf](a281abfda4))
* **podcast-import:** move guid attribute declaration for Episode entity to include slug data ([5d02ae3](5d02ae3990))
2021-11-23 11:03:31 +00:00
Yassine Doghri 5d02ae3990 fix(podcast-import): move guid attribute declaration for Episode entity to include slug data 2021-11-22 17:01:40 +00:00
Yassine Doghri a281abfda4 fix(cors): add preflight option routes for episode, podcast and status objects 2021-11-22 14:35:44 +00:00
semantic-release-bot a09853ef14 chore(release): 1.0.0-alpha.76 [skip ci]
# [1.0.0-alpha.76](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.75...v1.0.0-alpha.76) (2021-10-26)

### Bug Fixes

* replace hardcoded style links with vite service + set default value for remote transcript url ([3f2e056](3f2e05608e)), closes [#149](https://code.podlibre.org/podlibre/castopod-host/issues/149) [#150](https://code.podlibre.org/podlibre/castopod-host/issues/150)
2021-10-26 10:40:11 +00:00
Yassine Doghri 3f2e05608e fix: replace hardcoded style links with vite service + set default value for remote transcript url
fixes #149, #150
2021-10-26 10:27:57 +00:00
semantic-release-bot 84a0029c56 chore(release): 1.0.0-alpha.75 [skip ci]
# [1.0.0-alpha.75](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.74...v1.0.0-alpha.75) (2021-10-05)

### Bug Fixes

* **rss:** cast number type values to string in rss_helper ([7180ae9](7180ae9ec7)), closes [#148](https://code.podlibre.org/podlibre/castopod-host/issues/148)
2021-10-05 14:44:53 +00:00
Yassine Doghri 7180ae9ec7 fix(rss): cast number type values to string in rss_helper
fixes #148
2021-10-05 13:41:58 +00:00
semantic-release-bot 0f586152b0 chore(release): 1.0.0-alpha.74 [skip ci]
# [1.0.0-alpha.74](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.73...v1.0.0-alpha.74) (2021-09-28)

### Features

* **platforms:** add missing newpodcastapps.com's platforms ([92dd370](92dd370e2f))
2021-09-28 10:40:31 +00:00
Benjamin Bellamy 92dd370e2f feat(platforms): add missing newpodcastapps.com's platforms 2021-09-28 10:26:47 +00:00
semantic-release-bot 3c5d3f65bf chore(release): 1.0.0-alpha.73 [skip ci]
# [1.0.0-alpha.73](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.72...v1.0.0-alpha.73) (2021-09-22)

### Bug Fixes

* **map:** update episode markers query to discard unpublished episodes ([b3caac4](b3caac45b1))
2021-09-22 15:29:24 +00:00
Yassine Doghri b3caac45b1 fix(map): update episode markers query to discard unpublished episodes 2021-09-22 15:07:18 +00:00
semantic-release-bot 797e532727 chore(release): 1.0.0-alpha.72 [skip ci]
# [1.0.0-alpha.72](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.71...v1.0.0-alpha.72) (2021-09-20)

### Bug Fixes

* rename field status to task_status to get scheduled activities ([4ff82a5](4ff82a5f0a))
2021-09-20 10:00:58 +00:00
Yassine Doghri 4ff82a5f0a fix: rename field status to task_status to get scheduled activities
fix: load css using vite service for page view
2021-09-20 09:49:29 +00:00
semantic-release-bot a78cacd3aa chore(release): 1.0.0-alpha.71 [skip ci]
# [1.0.0-alpha.71](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.70...v1.0.0-alpha.71) (2021-09-17)

### Features

* **map:** display geolocated episodes on a map page ([4357cc2](4357cc25cc))
2021-09-17 16:01:13 +00:00
Benjamin Bellamy 4357cc25cc feat(map): display geolocated episodes on a map page 2021-09-17 15:50:55 +00:00
semantic-release-bot 652fa3659e chore(release): 1.0.0-alpha.70 [skip ci]
# [1.0.0-alpha.70](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.69...v1.0.0-alpha.70) (2021-08-31)

### Bug Fixes

* **partner:** set correct image URL ([61554be](61554be12a))
2021-08-31 09:01:26 +00:00
Benjamin Bellamy 61554be12a fix(partner): set correct image URL 2021-08-31 08:52:28 +00:00
semantic-release-bot 1d00a23866 chore(release): 1.0.0-alpha.69 [skip ci]
# [1.0.0-alpha.69](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.68...v1.0.0-alpha.69) (2021-08-23)

### Bug Fixes

* **import:** cast description's SimpleXMLElement to string ([02d17be](02d17be4ff))
2021-08-23 14:20:06 +00:00
Yassine Doghri 02d17be4ff fix(import): cast description's SimpleXMLElement to string
Podcast import crashed because of type errors
2021-08-23 13:49:07 +00:00
semantic-release-bot 4e76266d50 chore(release): 1.0.0-alpha.68 [skip ci]
# [1.0.0-alpha.68](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.67...v1.0.0-alpha.68) (2021-08-19)

### Bug Fixes

* **analytics:** redirect to mp3 file even when referer was not set ([9fc388d](9fc388d154))
2021-08-19 14:37:51 +00:00
Benjamin Bellamy 9fc388d154 fix(analytics): redirect to mp3 file even when referer was not set 2021-08-19 14:08:04 +00:00
semantic-release-bot af7d625462 chore(release): 1.0.0-alpha.67 [skip ci]
# [1.0.0-alpha.67](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.66...v1.0.0-alpha.67) (2021-07-24)

### Features

* allow cross origin requests on episode comments ([e12f95a](e12f95aca1))
2021-07-24 17:01:10 +00:00
Yassine Doghri e12f95aca1
feat: allow cross origin requests on episode comments 2021-07-24 15:34:12 +00:00
semantic-release-bot 797c96c1e6 chore(release): 1.0.0-alpha.66 [skip ci]
# [1.0.0-alpha.66](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.65...v1.0.0-alpha.66) (2021-07-24)

### Features

* **rss:** add podcast:comments tag to link to episode comments ([32e8c7c](32e8c7c16a))
2021-07-24 09:37:02 +00:00
Yassine Doghri 32e8c7c16a
feat(rss): add podcast:comments tag to link to episode comments 2021-07-24 08:49:16 +00:00
semantic-release-bot ed8dc0052c chore(release): 1.0.0-alpha.65 [skip ci]
# [1.0.0-alpha.65](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.64...v1.0.0-alpha.65) (2021-07-22)

### Bug Fixes

* update conditions when checking for empty max_episodes and season_number ([fbad0b5](fbad0b59f6))
2021-07-22 14:40:17 +00:00
Yassine Doghri fbad0b59f6
fix: update conditions when checking for empty max_episodes and season_number 2021-07-19 12:27:27 +00:00
semantic-release-bot 7047d5afb7 chore(release): 1.0.0-alpha.64 [skip ci]
# [1.0.0-alpha.64](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.63...v1.0.0-alpha.64) (2021-07-12)

### Features

* **activitypub:** add Podcast actor and PodcastEpisode object with comments ([9e1e5d2](9e1e5d2e86))
2021-07-12 18:49:14 +00:00
Yassine Doghri 9e1e5d2e86 feat(activitypub): add Podcast actor and PodcastEpisode object with comments 2021-07-12 18:40:22 +00:00
semantic-release-bot b814cfaf7c chore(release): 1.0.0-alpha.63 [skip ci]
# [1.0.0-alpha.63](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.62...v1.0.0-alpha.63) (2021-07-12)

### Features

* build hashed static files to renew browser cache ([37c54d2](37c54d2477)), closes [#107](https://code.podlibre.org/podlibre/castopod-host/issues/107)
2021-07-12 18:01:18 +00:00
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 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 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
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 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 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 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 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 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 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 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