- May 27, 2024
-
-
Fredrik Jonsson authored
-
- May 22, 2024
-
-
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)
-
- Apr 04, 2024
-
-
Fredrik Jonsson authored
Fixes these issues: * The flagg views are not updated with the new adminbar component. * Staff flagged view are not included in the main menu. * Unflagging submissions did not work in the user and staff flagged views, only on dashboard. * Staff flagged filter was missing from new all-beta view.
-
- Mar 22, 2024
-
-
Fredrik Jonsson authored
-
- Feb 07, 2024
-
-
Wes Appler authored
Documentation overhaul - Fixing formatting issues, autodoc implementation, and added variables for versions. (#3734) Closes #3639. This is a bit of an overhaul of the docs to make them more easy to utilize. This changes include: - Removal of overhanging public aspects of the documentation - Reformatting of terminal commands to allow for easy copy & pasting - Updating points of contact - Screenshot Updates - Automated code API documentation. [Google's docstring style](https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings) should be used. - Added variables for things like software versions & packages. - Unless python & node version are manually specified, when docs are built these will be pulled from [`.nvmrc`](https://github.com/HyphaApp/hypha/blob/main/.nvmrc) & [`.python-version`](https://github.com/HyphaApp/hypha/blob/main/.python-version) - Consolidated the production and development guides into one location (both under `Setup` rather than one under `Getting Started` and one under `Setup`), and updated them to be similar to one another. - Added different steps for getting Hypha development deployed under multiple OSs
-
- Feb 06, 2024
-
-
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:
Wes Appler <wes@opentech.fund>
-
- Jan 29, 2024
-
-
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.
-
Saurabh Kumar authored
Also, removes breadcrumbs and StoryBock Depends on #3720
-
Saurabh Kumar authored
- Keep the app installed so the delete table migrations could run - Update sandbox-db with removed tables Depends on #3715
-
- Jan 18, 2024
-
-
Saurabh Kumar authored
The workflows page in the docs had duplicate info about each of the work with just an addition screenshot of workflow stages section. Update and merges the screenshot with the existing sections about different workflows
-
- Jan 03, 2024
-
-
Saurabh Kumar authored
This is part of public site removal effort
-
- Dec 18, 2023
-
-
gmurtaza00 authored
Configured setting for default visibility of review. It can be set as **private** or **reviewers**. - Private: Visible only to staff. - Reviewers: Visible to other reviewers and staff. **Setting to consider:** - ```REVIEW_VISIBILITY_DEFAULT ``` Closes #3417 --------- Co-authored-by:
Fredrik Jonsson <frjo@xdeb.org>
-
- Nov 27, 2023
-
-
Saurabh Kumar authored
closes #3080
-
- Nov 23, 2023
-
-
Saurabh Kumar authored
Fixes #ISSUEID This PR is depended on #3521 - [x] Passwordless login - [x] Passwordless signup - [x] Allow user to set a password after going to profile. - [x] Allow user to change their email even if they don't have an email set. - [x] Allow user to add their name in the application form if name is not present in the user account. - [x] Don't display "Dashboard" link if the user does't have permission to access to it. - [x] Allow to use to setup 2FA without account password. - [x] Display user content on the login screen, if configured (it is an existing feature) - [x] If 2FA is enforced, allow the user to submit the application without setting up 2FA - [x] Add email re-verification option to elevate, sudo mode, apart from password - [x] Update landing page after application submission, on success it redirects now. - [x] Update ENABLE_PUBLIC_SIGNUP and FORCE_LOGIN_FOR_APPLICATION to true by default # Login/Signup Flow  ## Updated Login Page with Registration Enabled  ## After providing the email ID The messaging is kept neutral to hide if the user is already registered or not. The email will contain more detail, if the account exist or not.  Login email copy  ## Signup New Account Email copy  ### Profile Page just after signup The user after clicking on the signup link in the email is redirect to homepage. No dashboard is available as the user doesn't have applicant role. If they click on the "profile" button they see this page with open to update profile and setup a password and enable 2FA. If the user decide to change the email, password is not asked if not password is set, instead an email is sent to authorize the email change.  ## Updated "Sudo" mode page ### For account with password  After clicking on the "Send a confirmation code to your email" link   ### For account without password  ## Updated disable 2FA page It requires "Sudo" mode, instead of password now. 
-
- Nov 02, 2023
-
-
Saurabh Kumar authored
The images are linked relative to page now. This prevents the mkdocs warnings and also let these images render itself nicely inside the editor or github interface. This way of referencing also helps for future if the docs get deployed to a path instead of a top-level domain
-
- Oct 20, 2023
-
-
Saurabh Kumar authored
Use hypha brand color for documentation #1269A1
-
- Sep 30, 2023
-
-
Sandeep Chauhan authored
Fixes #3567
-
- Sep 19, 2023
-
-
Fredrik Jonsson authored
Co-authored-by:
Saurabh Kumar <theskumar@users.noreply.github.com> Co-authored-by:
Sandeep Chauhan <sandeepsajan0@gmail.com>
-
- Sep 08, 2023
-
-
Fredrik Jonsson authored
Fixes #3560 Adds the settings: ``` # Should staff be able to export submissions. SUBMISSIONS_EXPORT_ACCESS_STAFF = env.bool('SUBMISSIONS_EXPORT_ACCESS_STAFF', True) # Should staff admins be able to export submissions. SUBMISSIONS_EXPORT_ACCESS_STAFF_ADMIN = env.bool('SUBMISSIONS_EXPORT_ACCESS_STAFF_ADMIN', True) ```
-
Saurabh Kumar authored
Add black and prettier check to lint
-
Saurabh Kumar authored
Fixes #3529
-
- Aug 11, 2023
-
-
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
-
- Aug 03, 2023
-
-
Fredrik Jonsson authored
-
- Aug 01, 2023
-
-
Frank Duncan authored
Fixes #3290 Adds an organization name column to the submission table. To effect that change, a new unique block needed to be added. I did test that the column will not show up when added to `SUBSMISSION_TABLE_EXCLUDED_FIELDS` --------- Co-authored-by:
Ghulam Murtaza <gmurtaza@opentechstrategies.com> Co-authored-by:
Frank Duncan <frank@kank.net> Co-authored-by:
Fredrik Jonsson <frjo@xdeb.org>
-
- Jul 15, 2023
-
-
bickelj authored
When following docs to set up a development environment, without this change one would see this error: > Unknown command: 'wagtailupdatesite'. Did you mean > wagtail_update_index?
-
- Jun 23, 2023
-
-
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.
-
- Jun 20, 2023
-
- Jun 15, 2023
-
-
Saurabh Kumar authored
Fixes #3430 - [x] Simplified code - [x] Use postgres FTS search - [x] Improve UX for filters - [x] Improve submission listing - [x] Add filter for submission date, OTF have asked about this. - [x] Add submission ID search, see https://github.com/HyphaApp/hypha/pull/3294 - [x]
Make sure the batch actions are working - [x] Permissions check for batch actions - [x] Ensure search index works after submissions is updated - [x] ~Integrate Django messages framework with htmx responses~ (Not needed) - [x] [Fix Polynomial regular expression used on uncontrolled data](https://github.com/HyphaApp/hypha/security/code-scanning/74 ) - [ ] make bulk update status working, currently it's hidden. --------- Co-authored-by:Fredrik Jonsson <frjo@xdeb.org>
-
- Apr 28, 2023
-
-
Aurum Linh authored
-
- Apr 10, 2023
-
-
Fredrik Jonsson authored
Fixes: #3112 --------- Co-authored-by:
Saurabh Kumar <theskumar@users.noreply.github.com>
-
- Mar 20, 2023
-
-
Fredrik Jonsson authored
Fixes #3064 --------- Co-authored-by:
Ghulam Murtaza <gmurtaza@opentechstrategies.com> Co-authored-by:
Frank Duncan <frank@kank.net>
-
- Mar 15, 2023
-
-
Saurabh Kumar authored
- Add a guide on how to enable and setup sentry - Upgrades sentry-sdk to 1.16.0 - Add optional performance monitoring - Add Browser Javascript Tracking & Tracing
-
- Mar 14, 2023
-
-
Saurabh Kumar authored
Run Django and docs preview server, and watch and compile frontend changes in parallel. This lets you quickly spin up and run everything in a single terminal.
-
- Mar 09, 2023
-
-
Fredrik Jonsson authored
Fixes #3242
-
- Mar 02, 2023
-
-
Saurabh Kumar authored
Fixes: #3250
-
- Feb 14, 2023
-
-
Saurabh Kumar authored
-
- Feb 02, 2023
-
-
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
-
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 ```
-
- Jan 10, 2023
-
-
Saurabh Kumar authored
- Remove dependency on python-venv and python-pip - update how to run test
-
- Dec 15, 2022
-
-
Saurabh Kumar authored
Fixes #3079
-