Cédric Krier
a35fb7d6e9
Prevent exception if database is not in device_cookies
...
issue10158
review361401002
2021-03-18 22:32:34 +01:00
Nicolas Évrard
ba5044b150
Protect trusted devices against brute force attack
...
issue9386
review321511002
2021-02-21 16:23:11 +01:00
Cédric Krier
e898419e8f
Use existing context for get_preferences and keep it in sessionStorage
...
So we present to the user his current contextual values.
But we clear the context after modification.
issue9327
review299651002
2020-06-06 14:01:51 +02:00
Cédric Krier
541c018e90
Escape external strings
...
issue9351
review301651002
2020-05-26 09:57:34 +02:00
Cédric Krier
56b4bcbdca
Backed out changeset 3fdae12ed04b
2020-05-19 19:32:20 +02:00
Cédric Krier
b1d00a5e8a
Add context to export URL
...
issue9304
review317361002
2020-05-19 18:57:53 +02:00
Cédric Krier
8ea7f9cdfc
Restore stored session after first login dialog
...
If we find a session once the user has filled the database and login, we should
try it first. If it does not work the first request will trigger the renewal
process.
issue8948
review262701002
2020-01-21 00:42:15 +01:00
Cédric Krier
1be481f75d
Display nice user message on too many requests
...
issue8935
review276601002
2020-01-21 00:34:55 +01:00
Cédric Krier
223b2ed06d
Prevent modification of cache RPC answers
...
The cached value should never be changed after being stored by the setter or
by a getter. So we make a copy of the value before storing it and return
another copy when returned.
issue8387
review269601002
2019-06-12 19:04:42 +02:00
Cédric Krier
a16942501e
Add cache management on RPC
...
issue8233
review257231002
2019-04-08 10:10:40 +02:00
Cédric Krier
da787239c1
Remove login prefix on login dialog
...
This avoid password manager to fill the database input with the login.
issue8089
review70541002
2019-02-13 10:59:48 +01:00
Nicolas Évrard
1e7aafecc2
Add bus management
...
issue7537
review66341002
2018-08-30 11:15:01 +02:00
Cédric Krier
eff545ea00
Use material design icons
...
and remove specific code for SVG icons on Firefox
issue7195
issue474
review60291002
2018-08-19 20:01:49 +02:00
Cédric Krier
af1f9cb48e
Avoid multiple login modal
...
Reloading the context should be done with the current session because it can
trigger a renewal and so the current session should be renewed.
When login is canceled, the session clearing must be stored and we should
logout.
issue7617
review52431002
2018-08-18 23:40:43 +02:00
Cédric Krier
a5ba323ce9
Update to new HTTP status code
...
issue7565
review70281002
2018-07-16 14:47:57 +02:00
Sergi Almacellas Abellana
b62bba2bac
Store session in browser storage
...
issue7018
review36911002
2018-05-23 16:40:26 +02:00
Cédric Krier
67044270f1
Increase the space available on main navbar for tablist
...
- use icon instead of text for logout
- move favorites in the global search
- merge brand and toggle menu
- allow to toggle menu on lg
- reduce expander size
issue7325
issue5554
review44921002
2018-05-12 01:04:50 +02:00
Cédric Krier
70134eff16
Manage URL and history
...
issue7370
review48271002
2018-05-12 00:39:59 +02:00
Cédric Krier
a4f6fb1ad2
Update to jQuery 3
...
issue5925
review36011002
2018-03-19 16:09:07 +01:00
Cédric Krier
1b9c85d039
Do not override database from hash if the list is empty
...
issue7038
review40911002
2018-01-08 19:25:31 +01:00
Cédric Krier
05edf756fb
Correctly select the visible and not readonly input/select
...
issue6897
review41651002
2017-11-09 18:59:05 +01:00
Cédric Krier
52b8e38775
Use utoa instead of btoa to encode authorization session
...
btoa can not encode characters outside the 0x00 to 0xFF range.
issue6516
review34981002
2017-05-30 22:05:33 +02:00
Xavier Codinas
e9b689757f
Change username label in login screen
...
issue6129
review31811002
2016-12-27 13:06:09 +01:00
Cédric Krier
430058b891
Comply to the JSON-RPC specification
...
issue5782
review28651002
2016-09-27 11:57:55 +02:00
Cédric Krier
58d81d27f8
Do not show error dialog on 404 during login
...
issue5837
review32541002
2016-08-31 22:58:38 +02:00
Xavier Codinas
df5af34323
Simplify login with single database
...
If there's only one database it will be displayed in a read only textbox, and if
more databases are available it will display a dropdown with all the databases
that are selectable.
issue5660
review28331002
2016-06-28 10:59:27 +02:00
Cédric Krier
acddcc69ef
Use new session to login
...
issue5659
review30271002
2016-06-23 17:58:57 +02:00
Cédric Krier
ce0b49fbe3
Clear the current session when logout
...
issue5659
review30271002
2016-06-23 17:58:36 +02:00
Cédric Krier
aceedacb36
Manage custom login process
...
The password is removed from the login window. The login parameters are filled
using asks pop-up until login success. The same login method is used to renew
the session.
issue5521
review23001003
2016-05-31 12:53:26 +02:00
Cédric Krier
d5f40b1665
Use Authorization header for session
...
issue4646
review15971002
2016-03-15 16:58:46 +01:00
Cédric Krier
69d3045282
Manage to get only one renew dialog at a time
2015-10-24 23:15:37 +02:00
Cédric Krier
7e09e41093
Manage no database list
...
and prevent multiple call to modal('show') as the stacked fix doesn't work with
such usage.
review15791002
2015-10-24 22:59:38 +02:00
Cédric Krier
41fca841db
Typo in password type
2015-07-31 22:25:40 +02:00
Cédric Krier
728d9e2096
Add i18n
...
review16321002
2015-05-29 10:44:10 +02:00
Cédric Krier
03026b3be4
Fix error management in login
...
- clear password input when modal is hidden
- fix login error message
- logout before login to prevent concurrency
- unbind submit before plug a new one
2015-03-06 14:24:55 +01:00
Cédric Krier
e2603dfa42
Refactor session management
...
- remove cookie (mostly useless since login is a form)
- fix focus
- show modal only when database are fecthed
- fix selection of database in URL
review11041002
2015-03-06 09:33:03 +01:00
Cédric Krier
2ea670313c
Prevent default submition on login/password modal
2015-02-23 18:59:15 +01:00
Cédric Krier
99d79451be
Use form submition for login/password
...
The browser manage itself the Return key and also it can store the password.
review11011002
2015-02-20 15:48:17 +01:00
Cédric Krier
0f80f7a5e2
Use bootstrap instead of jquery-ui
...
- use bower for dependencies
- use moment for date
- use bootstrap-datetimepicker
review11821002
2015-02-06 00:32:51 +01:00
Cédric Krier
1e56f46a58
Some css love
2014-10-14 18:12:52 +02:00
Cédric Krier
f7000f746e
Fix copy of session in reload context
2014-05-19 21:08:13 +02:00
Cédric Krier
6552c8515e
reload_context should not use its context
...
issue3837
review5041002
2014-04-12 23:41:39 +02:00
Cédric Krier
534e6c9504
Add unique dialogs
...
review1751002
2013-11-25 12:18:32 +01:00
Bertrand Chenal
1771aa5adb
Add cookie to store login and database name
...
review904002
2013-09-26 15:03:47 +02:00
Cédric Krier
52fb8815c2
Fix session renew
2013-09-06 15:01:29 +02:00
Cédric Krier
dd0721f673
Fill session context
2013-05-10 10:35:42 +02:00
Cédric Krier
0b770bb338
Fix parameters order in rpc call of logout
2013-05-06 16:20:01 +02:00
Cédric Krier
5c22d0c927
Manage context, domain, search, tab_domain in action window
2013-01-07 16:11:53 +01:00
Cédric Krier
76e0b1a15d
Move source from js to src
2013-01-07 15:06:42 +01:00