webknossos
webknossos copied to clipboard
WIP: make organization name its id, drop the mongo id
URL of deployed dev instance (used for testing):
- https://___.webknossos.xyz
Steps to test:
- abc
TODOs:
- [x] update in sql schema
- [x] update in scala code
- [x] the mongoid is used as key in loki?
- [x] update in routes
- [x] update in proto
- [x] update in frontend
- [x] checks on name in sql and create organization code (allow
[A-Za-z0-9\-_. ]+in sql) - [x] test around
- [ ] sql migration
- [ ] do analytics events need to be migrated? in postgres only? or externally? can those from old webknossoses still be ingested?
- [ ] bump api version, provide adapters
- [ ] todos
- [ ] change worker job arguments from organization_name to organization_id (maybe follow-up for easier rollbacks of this pr)
Issues:
- fixes #7689
(Please delete unneeded items, merge only when none are left open)
- [ ] Updated changelog
- [ ] Updated migration guide if applicable
- [ ] Updated documentation if applicable
- [ ] Adapted wk-libs python client if relevant API parts change
- [ ] Removed dev-only changes like prints and application.conf edits
- [ ] Considered common edge cases
- [ ] Needs datastore update after deployment