Commit Graph
10 Commits
Author SHA1 Message Date
Yannick Tivisse d600f86181 [IMP] web_settings_dashboard: Display a cursor on the big clickable icon 2015-09-30 16:42:17 +02:00
Olivier Dony 94a0bbed0a [IMP] res.users: move login_date info to extra table
Writing frequently to master data, and particularly to res.users
records is dangerous because it can temporarily delay/abort
concurrent transactions due to FK locking/serializability
heuristics. (Even with PostgreSQL 9.3+)

The `login_date` field updated when a user is authentiocated
is still useful but better handled in a separate table that
exclusively receives independent INSERTs (no UPDATE/DELETE).
This minimizes the chances of transactional conflicts.

This commit moves the login_date info into a separate
`res.users.log` table for this purpose, replacing it
with a related field. The user and login date info are
automatically handled by the magical fields (create_uid,
create_date) in `res.users.log`.
The related field must not be stored because that would
create the same problems as the original field.

In order to cleanup redundant entries in res.users.log
the 'auto-vacuum' cron job used for TransientModels was
extended to be a generic "internal data vacuum cleaner",
and now takes care of this as well.

The code for updating last login and vacuuming was split
up into smaller methods to make extensions easier.

Fixes #8585
Fixes #8590
2015-09-30 03:02:45 +02:00
Thibault Delavallée f0733edeb2 [FIX] web_settings_dashboard: token when inviting users
A context key was missing, leading to incorrect token sent to users when adding
users through the settings dashboard.

Also removed unused imports.
2015-09-29 12:01:22 +02:00
Yannick Tivisse c543e1be8b [IMP] web_settings_dashboard: Jump on Apps or Users view by clicking on the fa icon 2015-09-28 10:19:51 +02:00
Martin Trigaux 2e8996ce0b [I18N] add missing translations
Fetching was stopped at sale, because reasons
2015-09-15 09:30:37 +02:00
Martin Geubelle b9cfbbee87 [FIX] web_settings_dashboard: remove grey color when complete planner 2015-09-14 10:33:49 +02:00
Martin Trigaux 613286b0e8 [I18N] export application terms of all modules
Now that most refactoring has been merged

It is better to have red a great work of another culture in translation than never to have read it at all.
― Henry Gratton Doyle
2015-09-07 17:21:58 +02:00
Fabien Pinckaers 51c2e3b693 [IMP] Small css improvements 2015-09-05 19:27:42 +02:00
Fabien Pinckaers 6bce8162cc [IMP] better tweet message 2015-09-05 18:14:28 +02:00
Parth Gajjar c6a0af45ef [ADD] web_settings_dashboard: Settings Dashboard 2015-09-04 13:03:21 +02:00