photoprism/internal/entity
Michael Mayer 8df444dfd7 Auth: Refactor session API #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-10 12:15:10 +01:00
..
legacy Links: Change https://photoprism.app/ to https://www.photoprism.app/ 2023-02-08 09:07:42 +01:00
schema Update mariadb.mmd 2022-10-22 13:29:47 +02:00
testdata/album
album.go API: Add sort order "random" to find a random set of photos #153 2023-01-30 12:27:34 +01:00
album_cache.go Auth: Apply user rights and permissions in the search API #98 #782 2022-09-30 00:42:19 +02:00
album_cache_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
album_fixtures.go Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +02:00
album_fixtures_test.go
album_test.go API: Add sort order "random" to find a random set of photos #153 2023-01-30 12:27:34 +01:00
album_user.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
album_yaml.go Security: Create new files without execution permission #2809 2022-10-31 15:01:48 +01:00
album_yaml_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_session.go Auth: Refactor sessions API and model #98 2023-03-09 18:45:04 +01:00
auth_session_cache.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
auth_session_cache_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
auth_session_data.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
auth_session_data_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_session_fixtures.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
auth_session_login.go Auth: Refactor session API #98 2023-03-10 12:15:10 +01:00
auth_session_login_test.go Security: Add http rate limiter and auto tls mode #98 2022-10-11 22:44:11 +02:00
auth_session_report.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
auth_session_test.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
auth_tokens.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
auth_user.go User Details: Increase size of bio field, add about to UI #98 2023-03-10 10:21:46 +01:00
auth_user_add.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
auth_user_cli.go CLI: Restore user accounts on demand #98 2023-02-20 20:24:04 +01:00
auth_user_default.go Auth: Refactor user management API and CLI commands #98 2023-03-09 15:12:10 +01:00
auth_user_details.go User Details: Increase size of bio field, add about to UI #98 2023-03-10 10:21:46 +01:00
auth_user_fixtures.go Auth: Refactor user management API and CLI commands #98 2023-03-09 15:12:10 +01:00
auth_user_fixtures_test.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
auth_user_legacy.go Auth: Improve legacy user search command and add tests #98 2022-10-14 02:48:23 +02:00
auth_user_legacy_test.go Auth: Improve legacy user search command and add tests #98 2022-10-14 02:48:23 +02:00
auth_user_report.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
auth_user_settings.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
auth_user_share.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_share_fixtures.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_share_test.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_test.go Auth: Prevent duplicate usernames when renaming accounts #98 2023-03-09 19:56:07 +01:00
camera.go Metadata: Automatically detect scans based on metadata #322 2023-02-22 16:21:26 +01:00
camera_cache.go
camera_fixtures.go Tests: Add unit tests for camera and lens filter #2079 2022-03-28 16:25:40 +02:00
camera_fixtures_test.go
camera_makes.go
camera_test.go Metadata: Automatically detect scans based on metadata #322 2023-02-22 16:21:26 +01:00
category.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
category_fixtures.go
category_test.go
cell.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
cell_fixtures.go People: Improve face matching performance and accuracy #22 2021-08-29 13:26:05 +02:00
cell_fixtures_test.go People: Improve face clustering and indexing #22 2021-08-19 21:12:38 +02:00
cell_test.go Places: Improve handling of unknown S2 cell ids 2021-12-09 01:10:15 +01:00
country.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
country_cache.go
country_fixtures.go
country_test.go
db.go Entity: Check if dbConn is nil before trying to return the connection 2023-01-17 15:40:55 +01:00
db_conn.go Tests: Change SQLite Memory DSN to ":memory:?cache=shared" 2023-02-14 21:47:31 +01:00
db_conn_test.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
deprecated.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
details.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
details_fixtures.go People: Improve face matching performance and accuracy #22 2021-08-29 13:26:05 +02:00
details_fixtures_test.go
details_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
duplicate.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
duplicate_test.go
entity.go Links: Change https://photoprism.app/ to https://www.photoprism.app/ 2023-02-08 09:07:42 +01:00
entity_const.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
entity_count.go Index: Improve handling of archived photos, skip when possible #2257 2022-04-16 12:39:47 +02:00
entity_count_test.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
entity_counts.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
entity_counts_test.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
entity_fixtures.go Config: Always initialize fixtures, even when skipping migrations #3215 2023-02-21 04:44:08 +01:00
entity_init.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
entity_save.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
entity_save_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
entity_tables.go Config: Skip migrations if version has already been initialized #3215 2023-02-21 01:48:42 +01:00
entity_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
entity_time.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
entity_time_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
entity_update.go Index: Improve handling of archived photos, skip when possible #2257 2022-04-16 12:39:47 +02:00
entity_update_test.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
entity_values.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
entity_values_test.go Index: Add tests and refactor database record updates #1438 2022-04-05 11:40:53 +02:00
error.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
face.go Faces: Run background worker only when data has been updated #3124 2023-03-08 12:42:57 +01:00
face_fixtures.go People: Add overview page with search and context menu #22 2021-09-17 14:26:12 +02:00
face_fixtures_test.go People: Add overview page with search and context menu #22 2021-09-17 14:26:12 +02:00
face_test.go People: Improve face matching, audit command, and logging #2182 2022-04-13 01:59:32 +02:00
faces.go People: Add embeddings blacklist to reduce false positives #22 2021-09-30 13:44:23 +02:00
faces_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
file.go WebP: Add support for indexing and playing animations #3197 #668 2023-02-22 20:58:21 +01:00
file_fixtures.go Tests: Correct portrait value for file fixtures 2022-04-22 10:20:15 +02:00
file_fixtures_test.go Run "make fmt" 2021-08-28 13:55:37 +02:00
file_json.go Colors: Use int16 instead of int8 to avoid (de)serialization issues 2022-06-16 06:30:59 +02:00
file_json_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
file_share.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_share_fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_share_fixtures_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_share_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_fixtures_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
folder.go API: Add sort order "random" to find a random set of photos #153 2023-01-30 12:27:34 +01:00
folder_fixtures.go People: Improve face clustering and indexing #22 2021-08-19 21:12:38 +02:00
folder_test.go API: Add sort order "random" to find a random set of photos #153 2023-01-30 12:27:34 +01:00
keyword.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
keyword_fixtures.go Tests: Add fixtures 2022-03-30 18:21:14 +02:00
keyword_fixtures_test.go
keyword_test.go
label.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
label_fixtures.go Tests: Add fixtures 2022-03-30 18:21:14 +02:00
label_fixtures_test.go
label_test.go
lens.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
lens_cache.go
lens_fixtures.go Tests: Add fixtures 2022-04-02 20:13:56 +02:00
lens_fixtures_test.go
lens_test.go Log4j: Sanitize user input in logs like filenames and album titles #1814 2021-12-14 17:07:38 +01:00
link.go Security: Add http rate limiter and auto tls mode #98 2022-10-11 22:44:11 +02:00
link_fixtures.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
link_test.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
marker.go Faces: Run background worker only when data has been updated #3124 2023-03-08 12:42:57 +01:00
marker_fixtures.go Search: Default to photo names and keywords #1517 #1560 2021-09-29 20:09:34 +02:00
marker_fixtures_test.go People: Refactor faces worker and related entities #22 2021-08-16 00:29:36 +02:00
marker_json.go People: Add face dist to marker API JSON #22 2021-09-23 14:03:35 +02:00
marker_json_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
marker_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
markers.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
markers_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
mysql8_test.go Config: Always initialize fixtures, even when skipping migrations #3215 2023-02-21 04:44:08 +01:00
password.go Security: Add http rate limiter and auto tls mode #98 2022-10-11 22:44:11 +02:00
password_fixtures.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
password_fixtures_test.go Run "make fmt" 2021-08-28 13:55:37 +02:00
password_test.go Security: Add http rate limiter and auto tls mode #98 2022-10-11 22:44:11 +02:00
photo.go Faces: Run background worker only when data has been updated #3124 2023-03-08 12:42:57 +01:00
photo_album.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
photo_album_fixtures.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
photo_album_fixtures_test.go
photo_album_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
photo_datetime.go Metadata: Accept switch back to local time if current zone is UTC #2876 2022-11-15 17:54:16 +01:00
photo_datetime_test.go Metadata: Accept switch back to local time if current zone is UTC #2876 2022-11-15 17:54:16 +01:00
photo_estimate.go Fix Duration Compare in photos estimate 2023-03-03 16:21:21 +01:00
photo_estimate_test.go Fix Duration Compare in photos estimate 2023-03-03 16:21:21 +01:00
photo_fixtures.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
photo_fixtures_test.go
photo_keyword.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_keyword_fixtures.go Tests: Add fixtures 2022-04-02 16:52:38 +02:00
photo_keyword_test.go
photo_label.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
photo_label_test.go Tests: Add to dos to run tests on mariadb 2022-05-03 15:05:45 +02:00
photo_location.go Metadata: Ensure the altitude is not out of range and fix logs #3182 2023-02-09 11:51:26 +01:00
photo_location_test.go Metadata: Remove location labels when photo doesn't have a location 2021-11-25 14:52:26 +01:00
photo_merge.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_merge_test.go Stacks: Only merge photos with trusted time and location #1668 2021-11-24 14:32:40 +01:00
photo_optimize.go Backups: Rename album backups to exports and improve command help #1887 2022-01-05 11:40:44 +01:00
photo_optimize_test.go Metadata: Add --force flag to optimize command #1736 2021-11-18 03:47:25 +01:00
photo_quality.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
photo_quality_test.go Metadata: Estimate latitude and longitude if possible #1668 2021-11-22 18:18:41 +01:00
photo_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
photo_title.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_title_test.go People: Shorten names in titles #22 2021-09-18 21:40:57 +02:00
photo_user.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
photo_yaml.go Security: Create new files without execution permission #2809 2022-10-31 15:01:48 +01:00
photo_yaml_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
place.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
place_fixtures.go Places: Sort States by Country Name and Title #1608 #1740 2021-11-20 16:36:34 +01:00
place_fixtures_test.go
place_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
reaction.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
reaction_fixtures.go Reactions: Ignore error, should a test fixture already exist 2022-10-08 19:13:39 +02:00
reaction_test.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
service.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
service_fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
service_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
src.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
string.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
string_keyvalue.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
string_map.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
string_map_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
string_test.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
subject.go User Details: Increase size of bio field, add about to UI #98 2023-03-10 10:21:46 +01:00
subject_fixtures.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
subject_fixtures_test.go People: Add overview page with search and context menu #22 2021-09-17 14:26:12 +02:00
subject_names.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
subject_person.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
subject_person_test.go People: Improve face thumbnails on overview page #22 2021-09-17 18:51:24 +02:00
subject_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
subjects.go Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +02:00
subjects_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00