photoprism/internal/entity
Michael Mayer 6414a7bee3 Entity: Check if dbConn is nil before trying to return the connection
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-17 15:40:55 +01:00
..
legacy Update year in copyright notices 2023-01-11 16:43:01 +01:00
schema Update mariadb.mmd 2022-10-22 13:29:47 +02:00
testdata/album
album.go Folders: Ignore case and use wildcards when searching #2050 2023-01-02 17:59:48 +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
album_fixtures_test.go
album_test.go Albums: Replace ASCII quotes in titles with Unicode quotes #2891 2022-11-28 09:24:23 +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: Add dummy LDAP service #98 2022-11-22 22:14:34 +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: Add dummy LDAP service #98 2022-11-22 22:14:34 +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 Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02: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 CLI: Add username argument to the "photoprism passwd" command #98 2022-12-29 23:41:43 +01:00
auth_user_add.go Auth: Add dummy LDAP service #98 2022-11-22 22:14:34 +01:00
auth_user_cli.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
auth_user_default.go Auth: Only migrate non-empty legacy user fields #98 2022-11-03 11:02:36 +01:00
auth_user_details.go Auth: Improve account management page and config options #98 2022-10-19 05:09:09 +02:00
auth_user_fixtures.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
auth_user_fixtures_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02: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: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02: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: Add dummy LDAP service #98 2022-11-22 22:14:34 +01:00
camera.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
camera_cache.go
camera_fixtures.go
camera_fixtures_test.go
camera_makes.go
camera_test.go
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
cell_fixtures_test.go
cell_test.go
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 Backend: Refactor gorm.DB connection provider in entity package 2022-10-01 15:17:04 +02: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
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 Update year in copyright notices 2023-01-11 16:43:01 +01:00
entity_const.go Albums: Improve sorting options in extended search form #353 2023-01-04 14:15:07 +01:00
entity_count.go
entity_count_test.go
entity_counts.go
entity_counts_test.go
entity_fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02: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 Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02: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
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
error.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
face.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
face_fixtures.go
face_fixtures_test.go
face_test.go
faces.go
faces_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
file.go Translations: Fuzzy merge of .pot files with .po files #2083 2022-10-31 13:25:02 +01:00
file_fixtures.go
file_fixtures_test.go
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
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 Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
folder_fixtures.go
folder_test.go
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
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
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
lens_fixtures_test.go
lens_test.go
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 Translations: Fuzzy merge of .pot files with .po files #2083 2022-10-31 13:25:02 +01:00
marker_fixtures.go
marker_fixtures_test.go
marker_json.go
marker_json_test.go
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 Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02: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
password_test.go Security: Add http rate limiter and auto tls mode #98 2022-10-11 22:44:11 +02:00
photo.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02: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
photo_estimate_test.go
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
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
photo_location.go
photo_location_test.go
photo_merge.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_merge_test.go
photo_optimize.go
photo_optimize_test.go
photo_quality.go
photo_quality_test.go
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
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
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
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: Extend account settings with user details and avatar upload #98 2022-10-17 19:07:38 +02:00
string.go
string_keyvalue.go
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
subject.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
subject_fixtures.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
subject_fixtures_test.go
subject_names.go
subject_person.go
subject_person_test.go
subject_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
subjects.go
subjects_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00