- Dec 05, 2024
-
-
Saurabh Kumar authored
- Use frozen dependencies with hashes to ensure reproducible dependency installation in a secure way. - Uses `uv` and pre-commit to automatically generate the locked requirements files from pyproject.toml. - While the translation dependencies can be installed directly with `uv`, uv doesn’t seem to be able to add `--find-link=…` to the exported `requirements/translate.txt`, for that reason the translation dependencies are left as they are and won’t be automatically exported via pre-commit. - So whenever `uv lock —upgrade` is run, it will freeze the latest patch versions. - The production dependencies are specified with a `~` which means `>=` at the last digit of requirements. - The dev dependencies have `>=` to make them easy to update, if something breaks in dev either fix it or go back to the old frozen dependencies. - Moved generated dependencies in requirements/ folder. - Use `--no-deps` where applicable while installing these generated requirements as the sub-dependencies are already resolved.
-
- Nov 20, 2024
-
-
Wes Appler authored
This builds on the #4134 PR that initially introduced machine translations into Hypha. This isolates the translation behavior; putting pip dependencies in a separate `requirements-translate.txt` and will not attempt any translate imports unless the setting for it is true. Other small changes are also a full docs page explaining how to install language packages & changing the setting once again from `SUBMISSION_TRANSLATIONS_ENABLED` to `APPLICATION_TRANSLATIONS_ENABLED` to reflect the system wide shift away from submission terminology.
-
- Nov 12, 2024
-
-
Fredrik Jonsson authored
-
- Oct 21, 2024
-
-
Saurabh Kumar authored
Check the individual commits for more info, for now.
-
- Oct 17, 2024
-
-
Saurabh Kumar authored
- Add eslint and stylint to pre-commit - Update .github workflow - upgrade ruff - Make mirror-eslint work (ps: it doesn't seem to find the "globals" package if not installed with npm install explicitly - Add timeout to each task
-
- Mar 11, 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
-
- Jan 29, 2024
-
-
Fredrik Jonsson authored
-
- Jan 12, 2024
-
-
Saurabh Kumar authored
Fetch the full-history to that the last edited information is displayed correctly for all the pages. Right now, all the pages get the last build time. Also, update the copyright year from 2023 to 2024 (Easy way to triggers a build for docs)
-
- Jan 11, 2024
-
-
Saurabh Kumar authored
ruff is drop-in-replacement for black and some of deviations actually make some sense. Argueably they seems to be very good at what they do, while for us it's one less dependency to manage See https://docs.astral.sh/ruff/formatter/ to understand more
-
- Dec 10, 2023
-
-
Saurabh Kumar authored
- Use `.python-version` and `.nvmrc` in CI script, single source of truth - Update version of python and node. - Update version of alpinejs, htmx and other build js - Update minor versions of python dependencies
-
- Dec 01, 2023
-
-
Saurabh Kumar authored
- Update psycopg to 3 as it’s not supported by Django 4.2 - Replaced “BaseUserManager().make_random_password”, as it’s deprecated - Update github action and breakup different checks, making them easier to debug - Updated the `makemigrations` checks to display the missing migration and then fail - Upgrade django-hijack to 3.4.2 - Update gunicorn to 21.2.0 - Upgrade django slack to 5.19.0 - Upgrade mistune to 3.0.2 (Bug fix release) - Upgrade whitenoise to 6.6.0 - Update dev dependencies - black, ruff, pre-commit, pytest-django Closes https://github.com/HyphaApp/hypha/issues/3362
-
- Oct 20, 2023
-
-
Saurabh Kumar authored
- black - coverage - django-browser-reload - django-coverage-plugin - django-debug-toolbar - pytest-cov - pytest-split - pytest-xdist - reponses - ruff
-
- Sep 08, 2023
-
-
Saurabh Kumar authored
Easier way to check and fix formatting issues if don't want to go precommit hooks route
-
Saurabh Kumar authored
Add black and prettier check to lint
-
- Apr 10, 2023
-
-
Fredrik Jonsson authored
Fixes: #3112 --------- Co-authored-by:
Saurabh Kumar <theskumar@users.noreply.github.com>
-
- Jan 13, 2023
-
-
Saurabh Kumar authored
Fixes #3101 - Remove `make sort` and `make sort-fix` make targerts - Use `make lint` and `make lint-fix` instead. - Make use of GitHub Annotation to surface issues as annotations directly in the files changed, similar to CodeQL. - Move stuff from `setup.cfg` to `pyproject.toml` - Fixed the potentially buggy code. Each of the fix types is in individual commits.
-
- Jan 09, 2023
-
-
Fredrik Jonsson authored
-
- Jan 06, 2023
-
-
Fredrik Jonsson authored
-
- Dec 20, 2022
-
-
Fredrik Jonsson authored
-
- Dec 15, 2022
-
-
Fredrik Jonsson authored
-
Fredrik Jonsson authored
-
Saurabh Kumar authored
Fixes #3079
-
- Dec 07, 2022
-
-
Fredrik Jonsson authored
Fixes #3074 The React app or "three column view" was built for an organisation that no longer use Hypha. No current implementors use it. Removing it simplifies Hypha quite a bit. Co-authored-by:
Saurabh Kumar <theskumar@users.noreply.github.com>
-
- Nov 11, 2022
-
-
Fredrik Jonsson authored
-
- Nov 29, 2021
-
-
Fredrik Jonsson authored
-
- Apr 06, 2021
-
-
Fredrik Jonsson authored
-
- Nov 02, 2020
-
-
Fredrik Jonsson authored
-