mirror of https://github.com/usememos/memos.git
- Removed the owner field from InstanceProfile as it is no longer needed. - Added an initialized field to InstanceProfile to indicate if the instance has completed first-time setup. - Updated GetInstanceProfile method to set initialized based on the existence of an admin user. - Modified tests to reflect changes in InstanceProfile and ensure correct behavior regarding instance initialization. - Adjusted frontend logic to redirect users based on the initialized status instead of the owner field. |
||
|---|---|---|
| .. | ||
| attachment_service_test.go | ||
| auth_test.go | ||
| idp_service_test.go | ||
| instance_owner_cache_test.go | ||
| instance_service_test.go | ||
| memo_attachment_service_test.go | ||
| memo_relation_service_test.go | ||
| memo_service_test.go | ||
| reaction_service_test.go | ||
| shortcut_service_test.go | ||
| test_helper.go | ||
| user_service_registration_test.go | ||
| user_service_stats_test.go | ||