Skip to content
Snippets Groups Projects
  1. 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)
      c0673014
  2. Apr 04, 2024
  3. Mar 22, 2024
  4. Feb 07, 2024
  5. 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>
      2db6a274
  6. Jan 29, 2024
    • Wes Appler's avatar
      Add server side previews to the application workflow (#3725) · ad486949
      Wes Appler authored
      ## Description
      
      Closes #3545.
      
      This creates the option to require a user to preview their form before
      submitting it. The requirement is set on a per fund/lab basis, and is a
      ~required checkbox when the lab/fund is configured in Wagtail admin~
      global Django configuration option. The preview first saves the
      application as a draft, then presents the user with a preview of their
      application. Upon viewing, the user can either edit or submit as seen in
      the flow diagram below.
      ad486949
    • Saurabh Kumar's avatar
      Remove public "standard_pages" app (#3721) · 0eda9462
      Saurabh Kumar authored
      Also, removes breadcrumbs and StoryBock
      
      Depends on #3720
      0eda9462
    • Saurabh Kumar's avatar
      Remove public "partners" app (#3716) · 1f9aa290
      Saurabh Kumar authored
      - Keep the app installed so the delete table migrations could run
      - Update sandbox-db with removed tables
      
      Depends on #3715
      1f9aa290
  7. Jan 18, 2024
  8. Jan 03, 2024
  9. Dec 18, 2023
  10. Nov 27, 2023
  11. Nov 23, 2023
  12. Nov 02, 2023
  13. Oct 20, 2023
  14. Sep 30, 2023
  15. Sep 19, 2023
  16. Sep 08, 2023
  17. 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
  18. Aug 03, 2023
  19. Aug 01, 2023
  20. Jul 15, 2023
  21. 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
  22. Jun 20, 2023
  23. Jun 15, 2023
  24. Apr 28, 2023
  25. Apr 10, 2023
  26. Mar 20, 2023
  27. Mar 15, 2023
  28. Mar 14, 2023
  29. Mar 09, 2023
  30. Mar 02, 2023
  31. Feb 14, 2023
  32. 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
      ```
  33. Jan 10, 2023
  34. Dec 15, 2022
Loading