Adrià Casajús
|
6dfb6bb3e4
|
Revert "Add code verification for creating mailboxes (#1725)" (#1727)
This reverts commit a5e7da10dd .
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
|
2023-05-09 18:04:04 +02:00 |
|
Adrià Casajús
|
a5e7da10dd
|
Add code verification for creating mailboxes (#1725)
* Add code verification for creating mailboxes
* Added validation checks
* Use exceptions
* Added delete to the mailbox utils
* Fix test
* Update package.lock
* Fix delete error
---------
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
|
2023-05-09 16:35:58 +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
|
eb2adc870a
|
make sure only premium user can create new mailbox via API
|
2021-06-02 17:17:28 +02:00 |
|
Renaud Boyer
|
6945cb633d
|
linting
|
2020-12-06 17:49:26 +01:00 |
|
Son NK
|
a1d5b01143
|
make sure mailbox email is valid
|
2020-11-22 12:18:31 +01:00 |
|
Son NK
|
824a610aa6
|
refactor test_mailbox
|
2020-11-22 12:15:32 +01:00 |
|
Son NK
|
4b6368b378
|
make sure only verified mailbox can be used as default
|
2020-11-03 12:43:01 +01:00 |
|
Son NK
|
19ac657c1c
|
add GET /api/v2/mailboxes
|
2020-11-03 12:14:13 +01:00 |
|
Son NK
|
5ee74c74b6
|
do not use url_for() in api tests
|
2020-11-03 12:07:48 +01:00 |
|
Son NK
|
273537e7ae
|
use same mailbox format for "POST /api/mailboxes" and "GET /api/mailboxes"
|
2020-11-03 11:22:01 +01:00 |
|
Son NK
|
fdedc24358
|
black new version
|
2020-08-27 10:20:48 +02:00 |
|
Son NK
|
48998ff07e
|
return nb_alias in GET /mailboxes
|
2020-05-31 11:52:01 +02:00 |
|
Son NK
|
0530a8aab5
|
return creation_timestamp in GET /mailboxes
|
2020-05-31 11:49:53 +02:00 |
|
Son NK
|
78d9a88328
|
Add default field to GET /api/mailboxes
|
2020-05-27 14:18:20 +02:00 |
|
Son NK
|
6280512adf
|
move get mailboxes to mailbox.py
|
2020-05-23 16:46:10 +02:00 |
|
Son NK
|
3eb6700232
|
user can cancel mailbox email change
|
2020-05-23 16:43:48 +02:00 |
|
Son NK
|
2f087de061
|
can update mailbox email
|
2020-05-23 16:40:28 +02:00 |
|
Son NK
|
a76ad0485f
|
PUT /api/mailboxes/:mailbox_id: update mailbox
|
2020-05-23 16:26:26 +02:00 |
|
Son NK
|
5ae39c85c6
|
Add DELETE /api/mailboxes/:mailbox_id
|
2020-05-23 16:18:12 +02:00 |
|
Son NK
|
722bff319e
|
add POST /api/mailboxes: create a new mailbox
|
2020-05-23 16:17:42 +02:00 |
|