Commit Graph

25 Commits

Author SHA1 Message Date
Adrià Casajús
1482bb4a33
Add to static js also the headers (#2153)
* Add to static js also the headers

* Move all header generation to a function
2024-07-11 12:28:22 +00:00
D-Bao
23a4e46885
add option to show/hide stats in aliases page (#1697) 2023-04-22 21:16:03 +02:00
D-Bao
e3ae9bc6d5
Replace save/update buttons with an auto save feature (#1685)
* replace save/update buttons with auto save feature

* minor css improvement
2023-04-11 22:52:44 +02:00
D-Bao
1c65094da8
Fix drag and drop to upload PGP public key not working on Firefox and Chromium (but working on Safari) (#1658)
* Fix pgp file drag and drop only worked on Safari

* Minor UI improvement of pgp public key text area

* add dashed outline only during dragover event
2023-03-27 10:48:27 +02:00
Son Nguyen Kim
87047b3250
use /p.outbound.js and /p/api/event on app.sl.io (#1366) 2022-10-24 18:18:22 +02:00
Son Nguyen Kim
8c73ff3c16
plausible: use https://simplelogin.io/p.outbound.js (#1364) 2022-10-24 16:44:01 +02:00
Son Nguyen Kim
9b452641a8
rename analytics.js to an.js (#1363) 2022-10-24 15:47:02 +02:00
Son Nguyen Kim
3a4dac15f0
Plausible roll up (#1350)
* enable plausible roll-up, use everything.simplelogin.com

* versionning analytics.js to avoid caching

* allow plausible custom event

* send "Complete registration" event when user finishes signup

* remove blank lines
2022-10-14 10:38:43 +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
Adrià Casajús
c2ae38ec8f
typo 2022-02-25 15:01:17 +01:00
Adrià Casajús
61d1655529
Move all js to a source file 2022-02-25 14:58:38 +01:00
Son
b490acead8 small fix 2022-02-03 11:18:10 +01:00
Son
1fd9a344d4 refactor 2021-11-03 10:53:39 +01:00
Son
ba16234456 create .jshintrc file, set esversion=8 2021-11-03 10:20:21 +01:00
Son Nguyen Kim
98b472d925 use "pin" instead of "favorite" 2021-09-19 19:50:50 +02:00
Son Nguyen Kim
4b184998bc make alias note always visible. Rename it to description 2021-08-21 16:11:17 +02:00
Son NK
2ad1b75e45 change wording 2021-03-22 15:40:17 +01:00
Son NK
f0fb5108f9 show a different message for custom domain alias when deleting 2021-03-18 14:45:18 +01:00
Son NK
8bb324e82b propose users to disable an alias instead of deleting it 2021-03-18 14:21:26 +01:00
Son NK
9dede0a281 remove unused var 2021-03-18 13:54:14 +01:00
Son NK
bcfc846af3 refactor: extract disableAlias() 2021-03-18 13:52:58 +01:00
Son NK
89c69ad625 refactor index.js 2021-03-18 13:52:13 +01:00
Son NK
91e805a637 move js part in index to a separate file 2021-03-18 12:34:08 +01:00
Son NK
3b850f6228 create analytics.js 2020-12-28 16:30:44 +01:00
Son NK
c9b75c338e move theme.js to static/ and include it in base.html 2020-05-15 23:40:30 +02:00