Commit Graph

5 Commits

Author SHA1 Message Date
Kelv c26e3865d8
DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#110) 2024-10-25 14:57:12 +08:00
David Taylor 550d0bdee1 FIX: Ignore non-numeric values when migrating from old data format
This fixes 'invalid input syntax for integer' errors when the old data is invalid
2019-08-07 16:09:42 +01:00
Penar Musaraj e49eb3bd9f Make Rubocop happy 2019-07-29 21:32:27 -04:00
David Taylor ce839a5d5c FIX: Ignore duplicate user_ids when migrating old data
The old storage mechanism had no unique index on the user_id, so it is possible to have bad data. In this case, take the first value, and ignore the rest.
2019-07-27 16:50:54 +01:00
Angus McLeod 5ae9f35e81 FEATURE: Migrate to ManagedAuthenticator (#21)
This brings the plugin in-line with recent core improvements. Advantages include

- Account-linking logic and storage is shared between all authentication providers
- Optionally, users can be allowed to disconnect/reconnect their accounts
- The 'last used' date of an association is recorded
- Association metadata is recorded in the database for use in data explorer and other plugins

Data migration will be performed automatically, and all existing functionality is maintained.
2019-07-27 16:34:17 +01:00