Skip to content
Snippets Groups Projects
  1. Sep 30, 2023
  2. Sep 19, 2023
  3. Sep 08, 2023
  4. Aug 11, 2023
    • Saurabh Kumar's avatar
      Add pre-commit with black,prettier and djhtml (#3502) · 4ce14204
      Saurabh Kumar authored
      - Add black, djhtml, prettier
      - Add precommit
      
      
      This PR add configurations for black, djhtml and prettier.
      
      - black is used for formatting python files
      - djhtml for formatting html files. Use `{# fmt: off #}` and `{# fmt: on
      #}` where needed.
      - prettier for formatting of sass,css,yml and js files
      
      Note: prettier picks up some of it's config from `.editorconfig`, so
      it's updated appropriately
      
      Formating of mardown files, minified or vendored js files are ignored.
      
      Formatting used off-the-self rules for better consistency with the
      community as large.
      
      The formatting is not applied to all the files as it will introduce a
      lot of merge conflict with
      current PRs, instead `pre-commit` config is provide which can be
      installed by `precommit install`
      locally. It will format only the modified files in the PR/commits. 
      
      Once majority of the current active PRs are either rebased & formatted
      using precommit or merged, we can
      run the `make fmt` on the full repo and activate additional prettier and
      black checks in our lint rules.
      
      The modified sass files fixes the eslint error that would came up if we
      were to apply the prettier formatter on them.
      
      Fixes #3500
      4ce14204
  5. Aug 03, 2023
  6. Aug 01, 2023
  7. Jul 15, 2023
  8. Jun 23, 2023
    • James Vasile's avatar
      Advise that docker is not for prod (#3453) · c0266e41
      James Vasile authored
      Fixes #3452 
      
      Current project views are that the docker setup isn't the best way to
      roll out to prod. Adding that to the docs gives readers a better idea of
      what to expect as an outcome from this section.
      c0266e41
  9. Jun 20, 2023
  10. Jun 15, 2023
  11. Apr 28, 2023
  12. Apr 10, 2023
  13. Mar 20, 2023
  14. Mar 15, 2023
  15. Mar 14, 2023
  16. Mar 09, 2023
  17. Mar 02, 2023
  18. Feb 14, 2023
  19. Feb 02, 2023
    • Saurabh Kumar's avatar
      Refractor documentation site (#3148) · 08be113c
      Saurabh Kumar authored
      - Add page last edited info on each page
      - Update header - site title, repo name & icon
      - Disable custom fonts, use system-fonts
      - Add copyright info in footer
      - Update navigation structure and behaviour
      - Add source code view and edit buttons
      - Refractor documentation
      08be113c
    • Saurabh Kumar's avatar
      Introduce “manage.py initialize” interactive command (#3117) · 4367f802
      Saurabh Kumar authored
      - Create/update superuser
      - Set wagtail site domains
      
      ```
      ❯ ./manage.py initialize
      Provide the details below to initialize Hypha Site. Press enter to keep the default value.
      
      Domain of public site  [hypha.test]:
      Domain of apply site  [apply.hypha.test]:
      Superadmin Email  [superadmin@hypha.test]:
      Superadmin Password  [hypha123]:
      Site port [8090]:
      >>> Created superuser with email superadmin@hypha.test.
      >>> Set public site to hypha.test:8090
      >>> Set apply site to apply.hypha.test:8090
      ```
  20. Jan 10, 2023
  21. Dec 15, 2022
Loading