Skip to content
Snippets Groups Projects
  1. Oct 15, 2020
    • Yassine Doghri's avatar
      fix: declare typed properties in PHPDoc for php<7.4 · 14dd44d0
      Yassine Doghri authored
      - fixes error when running castopod on php<7.4
      
      fixes #23
      14dd44d0
    • Yassine Doghri's avatar
      refactor: add php_codesniffer to define castopod's coding style based on psr-1 · ed6e9530
      Yassine Doghri authored
      - add .editorconfig file
      - format all files to comply with castopod's coding style
      - switch parsedown dependency with commonmark library to better follow commonmark spec for markdown
      - add prettier command to format all project files at once
      
      closes #16
      ed6e9530
    • Yassine Doghri's avatar
      refactor: update js files to typescript and replace parcel with rollup · e0da1151
      Yassine Doghri authored
      - add basic rollup config to bundle minified and browser compatible js
      - use babel to transpile
      typescript files to js
      - add static code checkers: eslint and stylelint
      - update package.json
      scripts
      - update DEPENDENCIES.md file to include rollup and popper
      - set html in rss feed
      description fields
      - update Podcast and Episode entities to add description_html attribute
      generated by parsing markdown to html using parsedown
      
      #9
      e0da1151
    • Yassine Doghri's avatar
      feat: enhance ui using javascript in admin area · c0e66d5f
      Yassine Doghri authored
      - bundle js using parcel
      - add markdown editor, html editor, dropdown and tooltip features using third-party packages
      - integrate optimized inline svg icons from RemixIcon using svgo and a php helper
      - add scripts in package.json to bundle icons, images, css and js
      - update tailwind config to add purgecss lookups and typography plugin
      - refactor views to add missing pages in user journey
      - update admin's holy grail layout using css grid
      c0e66d5f
    • Yassine Doghri's avatar
      feat: write id3v2 tags to episode's audio file · 4651d01a
      Yassine Doghri authored
      - add $mediaRoot parameter in app config
      - add and refactor helpers : id3, media and url
      - add basic vscode settings for code formatting in devcontainer.json
      - set post_max_size to Dockerfile
      4651d01a
    • Yassine Doghri's avatar
      feat(episodes): add create form and view pages for episode · f3b2c8b8
      Yassine Doghri authored
      - add james-heinrich/getid3 library as a dependency to composer.json
      - update DEPENDENCIES.md file
      - fix episodes table migration script
      - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit
      - reformat all files to the prettier format
      - refactor code by separating some logic as helper functions
      - overwrite existing files when uploading new files with the same name
      
      fixes #1
      f3b2c8b8
    • Yassine Doghri's avatar
      feat: add npm for js dependencies + move src/ files to root folder · cbb83a6f
      Yassine Doghri authored
      - add node service in docker-compose.yml
      - update .devcontainer Dockerfile by adding node, npm and vim
      - init package.json for npm with tailwindcss, postcss, commitlint and commitizen as dev dependencies
      - update default layout main header and footer
      - replace CI's welcome_message.php with home.php listing all podcasts
      - add AUTHORS.md file
      - add docs folder in which to place castopod's technical documentation
      cbb83a6f
    • Yassine Doghri's avatar
Loading