Skip to content
Snippets Groups Projects
  1. May 27, 2024
  2. May 22, 2024
    • Fredrik Jonsson's avatar
      Add a Remeber me checkbox to login that extend session time. (#3926) · c0673014
      Fredrik Jonsson authored
      Fixes #3897
      
      "Remember me" is only available when logging in with password. I see
      this as an "advanced" feature. The passwordless login flow is easy so
      not a big hassle to do it once a day.
      
      Organisation that wants to can set `SESSION_COOKIE_AGE` to a custom
      value, e.g. set it to two weeks to reagin the old behaviour.
      
      To disable "Remember me" set `SESSION_COOKIE_AGE` to the same value as
      `SESSION_COOKIE_AGE_LONG`
      
      This PR also:
      
      * removes unused code is_public_site
      * removes unused code register_extra_text
      * removes all use of link-button* classes. Buttons are now only handled
      by the button class.
      * add a tiny border radius to all buttons (this is something we
      implement on all elements in Hypha)
      Unverified
      c0673014
  3. Apr 04, 2024
  4. Mar 22, 2024
  5. Feb 07, 2024
  6. Feb 06, 2024
    • Saurabh Kumar's avatar
      Remove public site (#3738) · 2db6a274
      Saurabh Kumar authored
      
      - Keeps the migrations to delete the public tables
      - Updates and adds a global footer (admin configurable)
      - Update the layout of homepage
      
      Fixes #3110 #3559
      
      
      ## Test Steps
      
      - [ ] Remove the public site, go to "Wagtail Admin" > "Pages", set the
      "Apply Home Page" as the default page of the site. Remove the public
      site page
       - [ ] Do regression of the whole site
      
      ---------
      
      Co-authored-by: default avatarWes Appler <wes@opentech.fund>
      Unverified
      2db6a274
  7. Jan 29, 2024
  8. Jan 18, 2024
  9. Jan 03, 2024
  10. Dec 18, 2023
  11. Nov 27, 2023
  12. Nov 23, 2023
  13. Nov 02, 2023
  14. Oct 20, 2023
  15. Sep 30, 2023
  16. Sep 19, 2023
  17. Sep 08, 2023
  18. 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
      Unverified
      4ce14204
  19. Aug 03, 2023
  20. Aug 01, 2023
  21. Jul 15, 2023
  22. Jun 23, 2023
  23. Jun 20, 2023
  24. Jun 15, 2023
  25. Apr 28, 2023
  26. Apr 10, 2023
  27. Mar 20, 2023
  28. Mar 15, 2023
  29. Mar 14, 2023
  30. Mar 09, 2023
  31. Mar 02, 2023
  32. Feb 14, 2023
  33. 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
      Unverified
      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
      ```
  34. Jan 10, 2023
  35. Dec 15, 2022
Loading