Commit Graph

23 Commits

Author SHA1 Message Date
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 6bc093df3f fix test 2021-06-17 23:54:14 +02:00
Son e14e697207 fix flake8 2021-06-17 23:24:07 +02:00
Son NK 3e1f098c79 fix test 2021-06-05 17:48:41 +02:00
Son NK 9cfb6d412a Add /api/v5/alias/options 2020-11-14 16:45:22 +01:00
Son NK c6b6083c46 Revert "remove alias options v1,v2,v3 tests"
This reverts commit 8da14ca8ca.
2020-10-20 17:32:01 +02:00
Son NK 8da14ca8ca remove alias options v1,v2,v3 tests 2020-10-20 17:03:32 +02:00
Son NK d6d686c4c3 add argument commit= to create() 2020-09-28 17:40:30 +02:00
Son NK 72e9b52b29 Add /api/v4/alias/options 2020-05-02 16:21:18 +02:00
Son NK 4c1c02db60 Add /v3/alias/options 2020-03-29 23:13:04 +02:00
Son NK 7d4a9efb5d set user_id when creating AliasUsedOn 2020-03-20 12:29:11 +01:00
Son NK 2d90d35647 rename gen_email_id -> alias_id 2020-03-17 12:01:18 +01:00
Son NK 4f281bdbbb rename GenEmail -> Alias, gen_email to alias whenever possible 2020-03-17 11:51:40 +01:00
Son NK 3b454b9a80 fix test 2020-03-05 20:32:08 +01:00
Son NK bdf75951f1 support ALIAS_DOMAINS
- use verify_prefix_suffix() in /api/alias/custom/new
-
2020-01-22 10:24:17 +01:00
Son NK 96da841062 add /api/v2/alias/options that flattens the response 2020-01-05 20:47:09 +01:00
Son NK a3f547fd22 rename create_custom_alias -> create_new 2019-12-22 16:34:10 +00:00
Son NK 565d406227 remove new_random_alias related test 2019-12-15 18:55:18 +02:00
Son NK 6ddb8ee5ab fix test 2019-12-15 18:55:17 +02:00
Son NK ef888288a6 add tests for api create custom/random alias 2019-12-15 18:55:17 +02:00
Son NK a0c199732f fix test 2019-12-15 18:55:17 +02:00
Son NK 79ac792136 fix test 2019-12-15 18:55:16 +02:00
Son NK ab4f5bf329 add /api/alias/options 2019-12-15 18:55:16 +02:00