Commit Graph
35 Commits
Author SHA1 Message Date
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 a5ba323ce9 Update to new HTTP status code
issue7565
review70281002
2018-07-16 14:47:57 +02:00
Cédric Krier 4dd5606a08 Load model access synchronously
It is needed if the list of model has changed since the login.

issue6635
review37731002
2017-10-13 23:36:18 +02:00
Cédric Krier e998a0ad7d Manage also 401 HTTP status to renew session
This is a similar status to 403 also used by the server.

issue6748
review38611002
2017-09-07 21:09:01 +02:00
Sergi Almacellas Abellana 809dbef789 Don't show warning dialog message as dialog title
issue6369
review30161002
2017-04-27 10:26:42 +02:00
Sergi Almacellas Abellana 1748eb1214 Test for query status to determine if session has to be renewed
Since changeset 8d160f24aa4a
issue5928
review27671002
2016-10-05 09:22:29 +02:00
Cédric Krier 430058b891 Comply to the JSON-RPC specification
issue5782
review28651002
2016-09-27 11:57:55 +02:00
Sergi Almacellas Abellana 0252a645b1 Correctly render userwarning and usererror messages
issue5638
review29281002
2016-06-13 16:09:36 +02:00
Cédric Krier 07a9b6ee72 Work on copy of Array and Object in Sao.rpc.prepareObject
Replacing the data in-place is bad practice because it can introduce side
effect. The caller of Sao.rpc doesn't expect to have the parameters modified.

issue5608
review21021002
2016-06-07 09:51:55 +02:00
Cédric Krier 8d2ce21998 Fix typo startswith -> startsWith 2016-04-26 17:03:11 +02:00
Cédric Krier e93df7b207 NotLogged exception is now 403
issue5415
review17161002
2016-03-21 23:40:17 +01:00
Cédric Krier d5f40b1665 Use Authorization header for session
issue4646
review15971002
2016-03-15 16:58:46 +01:00
Cédric Krier fa4cccd39b String.fromCharCode can not be called with too many arguments
issue5177
review21561002
2015-12-27 19:20:54 +01:00
Cédric Krier 2b13e24f5d Fix params of concurrency dialog
- ids is the first element of params
- javascript doesn't have negative index
- slice return an array
2015-10-16 15:52:39 +02:00
Cédric Krier ea52c00bdc Fix jsonify of Decimal and ensure Decimal instance is always used
The string version of the Decimal must be used for json.
When Decimal instances are used in calulation with Number, the result is no
more a Decimal instance so it must be converted again.

review22341002
2015-07-26 16:12:51 +07:00
Cédric Krier b94c5533a9 Missing parent insertion of value for Time and TimeDelta
In Sao.rpc.prepareObject if a parent is passed, the result value must be in the
parent.
2015-06-30 13:32:22 +02:00
Cédric Krier 728d9e2096 Add i18n
review16321002
2015-05-29 10:44:10 +02:00
Cédric Krier b9c591da4d Fix params order for warning dialog 2015-05-07 14:54:19 +02:00
Cédric Krier da36dc5120 Manage bytes in JSON-RPC
issue4637
review9121002
2015-03-16 19:29:59 +01:00
Nicolas Évrard a9e67da04b Implement _timestamp retrieval for records
review6931002
2015-03-13 16:13:21 +01:00
Nicolas Évrard 7e2a448f08 Add loading indicator
review10171002
2015-02-20 11:30:11 +01:00
Cédric Krier a8aa4eaa92 Add TimeDelta field
And remove float_time widget.

issue4026
review10891002
2015-02-09 23:04:01 +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 ad5bb1de41 Manage microseconds in JSON-RPC
review3671003
2014-03-15 10:40:46 +01:00
Cédric Krier 534e6c9504 Add unique dialogs
review1751002
2013-11-25 12:18:32 +01:00
Cédric Krier d10b366a27 Add constructor for Date and DateTime
It is needed to be able to differentiate Date and DateTime because Javascript
as only a datetime object named Date.

review1115003
2013-10-03 11:11:25 +02:00
Cédric Krier e0518618bc Implement datetime and time widgets
review1067002
2013-10-02 12:05:14 +02:00
Cédric Krier 52fb8815c2 Fix session renew 2013-09-06 15:01:29 +02:00
Nicolas Évrard 0cc196376b Add binary field support
review1010002
2013-08-16 13:35:39 +02:00
Cédric Krier dd0721f673 Fill session context 2013-05-10 10:35:42 +02:00
Cédric Krier 6bacf786a3 Fix PYSON and JSON for null value 2013-04-18 18:14:00 +02:00
Cédric Krier d6ca2d1eb9 Typo in calling getSeconds 2013-04-17 15:20:46 +02:00
Nicolas Évrard 8334252f05 Fix month computation to comply with javascript strange getMonth() range 2013-01-23 17:31:26 +01:00
Nicolas Évrard 1226b7aad1 Fix month offset in javascript when creating date/datetime 2013-01-18 18:52:33 +01:00
Cédric Krier 76e0b1a15d Move source from js to src 2013-01-07 15:06:42 +01:00