Commit Graph

69 Commits

Author SHA1 Message Date
Adrià Casajús
25022b4ad8
Several fixes (#2157)
* Ensure uploaded pictures are images and delete the previous ones

* Add CSRF protection to admin routes

* Only allow https urls in the client envs

* Close connection to try to get a new one

* Missing parameter

* start_time can be non existant. Set a default value
2024-07-18 12:48:18 +00:00
Adrià Casajús
31896ff262
Replace black and flake8 with ruff (#1943) 2023-11-21 16:42:18 +01:00
Son
4a47e8c9c6 refactor: move template files to templates/ 2021-11-04 15:00:39 +01:00
Son
04bcc24ad7 user can set client.referral 2021-10-26 12:04:16 +02:00
Son
1aff59e112 improve client UI 2021-10-26 11:55:42 +02:00
Son
3d071d27a6 improve wording, add client url 2021-10-25 15:18:42 +02:00
Son
7e0609c39a do not display nb_paid_user for client 2021-10-25 14:36:23 +02:00
Son
befec56a86 display nb paid user on SIWSL app 2021-10-25 11:10:23 +02:00
Son
8bafdfc879 improve SIWSL wording 2021-10-25 11:09:30 +02:00
Son
074dd875dc comment out "Submit for approval" section 2021-10-12 14:39:29 +02:00
Son
372466ab06 do not use flask-sqlalchemy
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
2021-10-12 14:36:47 +02:00
Son NK
f8540808bc remove Client.published 2021-04-06 19:46:21 +02:00
Son NK
e42fb0816d Improve SIWSL wording 2021-04-06 18:12:06 +02:00
Son NK
03976ea1c2 improve copy in app approval 2021-04-01 18:04:35 +02:00
Son NK
313b442af7 do not display AppId 2021-04-01 12:32:14 +02:00
Son NK
46109770fc prettify 2021-04-01 11:05:58 +02:00
Son NK
b13c65166f Add OpenID Connect Discovery Document URL 2021-04-01 11:05:21 +02:00
Son NK
a90fa49636 add submit for approval for app 2021-04-01 10:52:51 +02:00
Son NK
eab4f5f7ac prettify app page 2021-04-01 10:02:08 +02:00
Son NK
68eeb2e121 add rel="noopener" for target="_blank" link 2020-07-30 10:09:10 +02:00
Son NK
7f29756230 do not hardcode oauth urls 2020-07-16 23:48:47 +02:00
Son NK
ef58b935d4 remove unused code 2020-04-30 22:39:31 +02:00
Son NK
ca6350cc27 optimize import in all files 2020-04-25 13:49:39 +02:00
Son NK
cfdaf659f9 Make UI more consistent 2020-04-05 19:59:48 +02:00
Son NK
abd2278c24 make sure to set File.user_id 2020-03-20 09:52:00 +01:00
Son NK
580dc6c8d6 do not send an email when user creates a new app 2020-02-12 18:33:39 +07:00
Son NK
632484ee5c Update wording: remove "successfully" 2019-12-30 17:43:38 +01:00
Son NK
17bb01f317 Fix wording 2019-12-22 15:59:41 +00:00
Son NK
ec62fad3a0 remove notify_admin, replace by general stats 2019-12-15 18:55:18 +02:00
Son NK
a827b27215 add custom_domain view 2019-12-15 18:55:16 +02:00
Son NK
8471f3a19f add external-link icon when appropriate 2019-12-15 18:55:16 +02:00
Son NK
6f93f419c2 send by postfix only 2019-12-15 18:55:14 +02:00
Son NK
f366e1c383 add send_by_postfix, to distinct with send_by_sendgrid 2019-12-15 18:55:14 +02:00
Son NK
4231a5691a improve feedback email 2019-12-15 18:55:13 +02:00
Son NK
1fbe8e2d4f if this is the first app user creates, sends an email to ask for feedback 2019-12-15 18:55:13 +02:00
Son NK
62daf5eadb improve notify_admin email 2019-12-15 18:55:13 +02:00
Son NK
1a85ab8dcc use AppID, AppSecret instead of OAuth2 Client ID 2019-12-15 18:55:13 +02:00
Son NK
5eb3f26286 improve UI 2019-12-15 18:55:13 +02:00
Son NK
f518085f1a improve wording 2019-12-15 18:55:13 +02:00
Son NK
ef807bf293 Add message to invite user creating a new app 2019-12-15 18:55:12 +02:00
Son NK
f4ea3745c1 update docs url 2019-12-15 18:55:12 +02:00
Son NK
3fe3099e1d remove all step views 2019-12-15 18:55:12 +02:00
Son NK
e575f21052 show user client-details after creation (no more step guide) and add guide message 2019-12-15 18:55:12 +02:00
Son NK
c22a7d3f0f small improvemen UX 2019-12-15 18:55:12 +02:00
Son NK
05dc03ef8a use card layout for app list, 2019-12-15 18:55:12 +02:00
Son NK
a44ce732be add advanced app setting: delete app 2019-12-15 18:55:12 +02:00
Son NK
1dd7a761fa split client details into 3 pages: basic info, oauth settings, oauth endpoints 2019-12-15 18:55:12 +02:00
Son NK
83abbe5406 set clipboard behavior on all pages 2019-12-15 18:55:12 +02:00
Son NK
aeb4108570 use form.validate_on_submit() whenever possible 2019-12-15 18:55:12 +02:00
Son NK
c76d55bf40 do not ask for app website url 2019-12-15 18:55:11 +02:00