Skip to content
Snippets Groups Projects
  1. Jul 04, 2024
    • Wes Appler's avatar
      Cookie popup improvements (#3976) · 972396ac
      Wes Appler authored
      Fixes #3925.
      - Cookie consent preference is now stored in local storage rather than
      using cookies
      - Improves on the existing cookie banner by adding a `Learn More` option
      where users can read more about the essential & analytic cookies, and
      toggle analytics specifically.
      - If analytics are not used, the user is no longer given the option to
      opt out, as Hypha only uses essential cookies by default.
      - Added a link/button to the footer default that allows the user to
      re-open the cookie prompt without having to clear it from their local
      storage.
  2. Jun 26, 2024
  3. Jun 15, 2024
  4. May 27, 2024
  5. 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
  6. Apr 04, 2024
  7. Mar 22, 2024
  8. Feb 07, 2024
  9. 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
  10. Jan 29, 2024
  11. Jan 18, 2024
  12. Jan 03, 2024
  13. Dec 18, 2023
  14. Nov 27, 2023
  15. Nov 23, 2023
  16. Nov 02, 2023
  17. Oct 20, 2023
  18. Sep 30, 2023
  19. Sep 19, 2023
  20. Sep 08, 2023
  21. 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
  22. Aug 03, 2023
  23. Aug 01, 2023
  24. Jul 15, 2023
  25. Jun 23, 2023
  26. Jun 20, 2023
  27. Jun 15, 2023
  28. Apr 28, 2023
  29. Apr 10, 2023
  30. Mar 20, 2023
  31. Mar 15, 2023
  32. Mar 14, 2023
  33. Mar 09, 2023
  34. Mar 02, 2023
  35. Feb 14, 2023
  36. 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
Loading