Commit graph

97 commits

Author SHA1 Message Date
Adrià Casajús
e01814f15c Test complete 2025-11-21 12:09:58 +01:00
Adrià Casajús
30c046a97a Update test 2025-11-21 12:09:58 +01:00
Adrià Casajús
28acdc16a5 test login action 2025-11-21 12:09:58 +01:00
Adrià Casajús
44865da68f Updat uv to 0.8 2025-09-22 10:11:51 +02:00
Adrià Casajús
0211e044bf
Update uv in Dockerfile (#2496)
* Update uv in Dockerfile

* Update workflow

* Update last entry of workflow

* Set the uv version as an env var

* Update variable use
2025-06-16 12:38:29 +02:00
Carlos Quintana
0e95f3d047
feat: allow to limit max email recipients (#2436)
* feat: allow to limit max email recipients

* Set cmake min version

---------

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2025-04-14 16:03:02 +02:00
Carlos Quintana
59957ec08b
chore: fix regex warnings on python 3.12 (#2400)
* deps: update some dependencies to fix warnings

* chore: move from sl.local to sl.lan for local development

* fix: mark string as regex

* chore: move facebook import to handler so its not global

* test: fix tests

* style: lint fixes

* test: move all .test and .local to .lan

* ci: do not use setup-python in lint
2025-02-26 15:41:50 +01:00
Carlos Quintana
ba9ed4f956
chore: upgrade to python 3.12 (#2396)
* chore: upgrade to python 3.12

* ci: do not use setup-python

* deps: add limits dependency

* deps: remove fixed dependency to six

* chore: disable profiler in flask debug toolbar as it does not work with python3.12

* deps: specify strictyaml dependency for yacron
2025-02-26 09:33:34 +01:00
Carlos Quintana
ffb070cd19
chore: offer version in newrelic events (#2380)
* chore: offer version in newrelic events

* chore: send version event on startup and on other services
2025-02-05 10:09:52 +00:00
Adrià Casajús
2918251161
Set uv as package manager (#2361) 2025-01-20 17:12:12 +01:00
Adrià Casajús
f02ea25bab
Run actions on v* tags 2025-01-20 11:41:46 +01:00
Carlos Quintana
030f4fd1f4
build: specify rye artifacts 2025-01-16 16:51:13 +01:00
Carlos Quintana
20056a1ae0
feat: use rye as project manager (#2359)
* feat: use rye as project manager

* chore: change poetry to rye for scripts

* ci: avoid duplicate executions

* Remove unused check and rename check

* removed unused parallel tasks

* Remove strategy altogether

---------

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2025-01-16 14:07:55 +01:00
Adrià Casajús
8b5dc9190d
Only change the profile picture if data is sent (#2255)
* Only change the profile picture if data is sent

* Ensure email is sent

* re-use var

* Ensure email is given on login

* Remove arm from build images

* reverted login changes
2024-10-09 09:13:49 +00:00
Adrià Casajús
025d4feba0
Sync on partner user creation + several fixes (#2214)
* Do not close session since it leads to orphan user object

* Redirect instead of render to avoid having to have a mailbox object

* On inital partner link/login trigger sync

* Update github action upload/artifact to v4

* Remove sys.exit used to test script locally

* Simplified script to update alias flags and note
2024-09-12 16:58:20 +02:00
Adrià Casajús
10cfc21fe9
Revert back to poetry (#2171) 2024-07-30 10:38:19 +02:00
Adrià Casajús
127bb5b98c
Replace poetry with rye (#2163) 2024-07-25 16:18:49 +02:00
martadams89
e6c51bcf20
ci: remove v7 (#2062) 2024-03-14 09:49:45 +01:00
martadams89
4bfc6b9aca
ci: add arm docker images (#2056)
* ci: add arm docker images

* ci: remove armv6

* ci: update workflow to run only on path

* Update .github/workflows/main.yml

---------

Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2024-03-13 15:20:47 +01:00
Adrià Casajús
7600038813
Update dependencies (#1901)
* Update dependencies

* Update python version

* update workflow to use python 3.10

* Install OS deps
2023-09-29 17:26:40 +02:00
Adrià Casajús
363a9932f1
Allow sentry to fail (#1454)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-28 12:40:06 +01:00
Adrià Casajús
b6ec4a9ac7
Update github checkout actions to v3 (#1451)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-28 11:13:27 +01:00
Adrià Casajús
478b1386cd
Updated checkout action to full checkout the repo (#1436)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-24 10:37:04 +01:00
Son Nguyen Kim
390b96b991
remove the code which is never called (#1407)
* remove the code which is never called

* fix comment

* no need to run ci for python 3.9
2022-11-15 10:07:06 +01:00
Adrià Casajús
efc7760ecb
Use newer github actions to install and cache poetry (#1395)
* Use newer github actions to install and cache poetry

* Update setup-python action to v4

* Parallel execution

* Build depends on lint

* Added missing req deps

* Install in all

* Remove unused

* No need to lint on all python versions

* Remove matrix deps

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-02 17:59:36 +01:00
Adrià Casajús
7f9ce5641f
Feat: Added parallel limiter to prevent sqlalchemy transaction issues (#1360)
* Feat: Added parallel limiter to prevent sqlalchemy transaction issues

* Remove logs

* Moved initialization to its own file

* Throw exception

* Added test

* Add redis to gh actions

* Added v6 to the name

* Removed debug prints

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-27 10:07:02 +02:00
Carlos Quintana
f47661c3d2
Add uncategorized PRs to changelog (#1270) 2022-09-05 16:43:18 +02:00
Adrià Casajús
598d912f2e
Set ordering to semver (#1175)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-20 12:21:53 +02:00
Adrià Casajús
2bc088cad7
Disable telegran notificaiton (#1152)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-11 10:27:05 +02:00
Adrià Casajús
046748c443
Update pre-commit (#1138)
* Update pre-commit

* Upgrade djlint, remove flake8 and add pylint

* Reformat with new djlint version

* Run pre-commit on CI

* Use only python3.10 on CI

* Reformat files with pre-commit

* Run pre-commit against all files

* Reformat

* Added global excludes

* Added pre-commit to the contributing file

* Set python 3.9 as default

* Set language version to python3

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Carlos Quintana <carlos.quintana@proton.ch>
2022-07-04 16:01:04 +02:00
Carlos Quintana
cb7868bdca
Add djlint (#1122)
* Add DJlint configuration

* Initial reformat for djlint

* Add template linting to CI

* Add explanation for HTML template checks in CONTRIBUTING.md
2022-06-29 11:28:26 +02:00
Adrià Casajús
28cc678c5c
Set github sha 2022-05-12 17:06:45 +02:00
Adrià Casajús
e584268219
Action refactor: Only run on push and also send to slack the sha of the commit 2022-05-12 17:02:03 +02:00
Carlos Quintana
0ed45f54c6
Move generation of build info to script 2022-05-12 16:48:51 +02:00
Carlos Quintana
9959848d74
Use python version file 2022-05-12 16:21:36 +02:00
Carlos Quintana
c3792dc333
Obtain git information from version file 2022-05-12 16:11:20 +02:00
Carlos Quintana
6b36651def
Fix Slack notification (#976) 2022-05-12 15:22:40 +02:00
Carlos Quintana
7b71eab5d4
Update .github/changelog_configuration.json
Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2022-05-12 12:17:27 +02:00
Carlos Quintana
69e2f48d13
Try to generate release notes 2022-05-12 12:11:45 +02:00
Carlos Quintana
e01bae6206
Fix create sentry release 2022-05-12 09:12:10 +02:00
Carlos Quintana
cbcd4ea92f
Add slack message sending + upgrade docker build process 2022-05-12 08:54:44 +02:00
Adrià Casajús
b3645b33dd
Set global change for the job 2022-05-11 16:48:27 +02:00
Adrià Casajús
4f8a590ef9
Run only on pull 2022-05-11 16:35:08 +02:00
Adrià Casajús
42159dce4d
Run docker build only once and also on tag 2022-05-11 16:33:24 +02:00
Son
e74362dd9f set config 2022-05-01 17:22:05 +02:00
Son
c748ab22e6 run db migration in github ci 2022-05-01 17:06:10 +02:00
Carlos Quintana
8fedceb090
Also install libpq-dev 2022-04-28 16:10:43 +02:00
Carlos Quintana
0a34c1547f
Fix python 3.10 2022-04-28 15:24:42 +02:00
Adrià Casajús
7d38c41d52
Put version version between " so it is 3.10 instead of 3.1 2022-04-27 15:30:16 +02:00
Adrià Casajús
83a8d439e5
Add workflow for python 3.10 2022-04-27 15:28:26 +02:00