Commit graph

490 commits

Author SHA1 Message Date
Eugene Burmakin
b7e4a017b8 Calculate only necessary stats 2024-12-06 16:52:36 +01:00
whimsical-c4lic0
32224628e7 Update map popup to use configured distance unit 2024-12-05 16:14:56 -06:00
Eugene Burmakin
82b3e26bd3 Update readme and log telemetry data 2024-12-05 17:46:24 +01:00
Eugene Burmakin
c8e910343c Fix test fixtures and add telemetry sending job 2024-12-05 17:37:50 +01:00
Eugene Burmakin
f095a7504c Merge remote-tracking branch 'origin/master' into feature/telemetry 2024-12-05 17:12:48 +01:00
Eugene Burmakin
f10f78999d Add basic telemetry 2024-12-05 17:12:35 +01:00
Evgenii Burmakin
60dc5c6b59
Merge pull request #476 from jduar/fix/owntracks-import-fix-when-not-location
fix imports of owntracks .rec files containing log types other than events
2024-12-04 15:39:55 +01:00
Evgenii Burmakin
c2605ed805
Merge pull request #475 from Freika/feature/photoprism-integration
Photoprism integration
2024-12-04 14:05:26 +01:00
Eugene Burmakin
cabce29ee2 Update changelog 2024-12-04 13:59:49 +01:00
Eugene Burmakin
d2bffdf1f1 Add spec for Photos::Thumbnail 2024-12-04 13:50:41 +01:00
Eugene Burmakin
1030bd5c37 Rename Photos::Request to Photos::Search and add test for it 2024-12-04 13:45:19 +01:00
Eugene Burmakin
9d573d90f3 Add spec for photo serializer 2024-12-04 13:17:15 +01:00
Eugene Burmakin
955f8946ad Add test for photos integration not being configured 2024-12-04 12:32:13 +01:00
João Duarte
16817718aa fix imports of owntracks .rec files containing events other than locations 2024-12-03 22:05:05 +00:00
Eugene Burmakin
e32ad54f35 Fix failing tests 2024-12-03 16:26:28 +01:00
Eugene Burmakin
93e91e7944 Fix swagger docs for /api/v1/photos/{id}/thumbnail 2024-12-03 16:05:38 +01:00
Eugene Burmakin
ba2a95233c Implement importing geodata from photoprism 2024-12-03 15:59:34 +01:00
Eugene Burmakin
e17b671c9c Add a button to import Photoprism geodata 2024-12-03 15:40:21 +01:00
Eugene Burmakin
42b74ecd52 Consider both Immich and Photoprism integrations in trips controller 2024-12-03 15:12:20 +01:00
Eugene Burmakin
83078c5b29 Refactor photo links code 2024-12-03 15:05:40 +01:00
Eugene Burmakin
bea7f28172 Update link to photos in maps photo popup 2024-12-03 15:02:11 +01:00
Eugene Burmakin
0a201d74ac Update marker rendering code to adapt to new photo format 2024-12-03 14:53:10 +01:00
Eugene Burmakin
bf569da921 Implement thumbnail fetching for photoprism 2024-12-03 14:44:24 +01:00
Eugene Burmakin
8849a5e0a5 Add source to photos 2024-12-03 13:50:05 +01:00
Eugene Burmakin
be45af95fb Implement photos serializer 2024-12-02 18:21:12 +01:00
Eugene Burmakin
202396a93d Implement photos request for both immich and photoprism in single service class 2024-12-02 17:34:16 +01:00
Eugene Burmakin
360828250f Add test for photoprism request photos 2024-12-02 17:22:36 +01:00
Eugene Burmakin
1f9e1f2f97 Add basic Photoprism photos integration 2024-12-02 16:52:05 +01:00
Eugene Burmakin
9eea936782 Introduce reverse_geocoded_at to points 2024-12-02 14:44:22 +01:00
Nils Poltmann
2cc2a84089 build assets 2024-12-02 10:23:08 +01:00
Nils Poltmann
402ebaaa10 Reset z-index on leaflet map 2024-12-01 20:34:39 +01:00
Nils
12ac078205
Reset z-index on leaflet map 2024-12-01 13:57:17 +01:00
Eugene Burmakin
238cbae5d4 Update default user credentials 2024-11-29 15:36:18 +01:00
Eugene Burmakin
a28752d161 Fix notifications dropdown z-index 2024-11-29 14:03:45 +01:00
Eugene Burmakin
ce88452be0 Fix trips when Immich integration is not configured 2024-11-29 11:52:57 +01:00
Eugene Burmakin
f018f0c64c Add specs for trips model 2024-11-28 17:41:43 +01:00
Eugene Burmakin
b56c58f654 Exclude seconds from map search 2024-11-28 17:23:11 +01:00
Eugene Burmakin
fda09248da Add tests for trips controller and change map seach form 2024-11-28 17:13:04 +01:00
Eugene Burmakin
5c09e5b0f9 Move trip to partial 2024-11-28 16:11:04 +01:00
Eugene Burmakin
71cd9d507b Make each card a link and add hover effect 2024-11-28 15:58:30 +01:00
Eugene Burmakin
f2869347bc Fix margins on some pages 2024-11-28 15:54:36 +01:00
Eugene Burmakin
782aeb89af Add distance calculation and trip cards to trips index 2024-11-28 15:29:17 +01:00
Eugene Burmakin
4dca91b62d Don't set size of images on the popups 2024-11-28 13:56:50 +01:00
Eugene Burmakin
be0bc35955 Fix showing photos on the trip edit page 2024-11-28 13:50:21 +01:00
Eugene Burmakin
e8842a9476 Implement rendering the route when the dates if the trip are changed 2024-11-28 13:20:03 +01:00
Eugene Burmakin
2cfc485f12 Add Trix editor to trips 2024-11-28 12:00:54 +01:00
Eugene Burmakin
b712332277 Update link to Immich search on the trip page 2024-11-28 10:51:11 +01:00
Eugene Burmakin
c689051472 Show some photos from the trip 2024-11-28 10:40:08 +01:00
Eugene Burmakin
9522f81abf Move fetchAndDisplayPhotos to maps/helpers.js 2024-11-27 21:37:21 +01:00
Eugene Burmakin
198bf3128a Add trips model and scaffold controller 2024-11-27 20:14:17 +01:00
Eugene Burmakin
3ba7a657e4 Fix retrieving photos from Immich with timeframes 2024-11-27 16:43:12 +01:00
Eugene Burmakin
336654270d Add logging for Immich response with no items 2024-11-27 14:06:49 +01:00
Eugene Burmakin
5ed9b3518b Add hover reaction to photos in the map 2024-11-26 20:27:16 +01:00
Eugene Burmakin
7b160bfe2d Add specs for swagger 2024-11-26 20:18:08 +01:00
Eugene Burmakin
c5044781b9 Add an active link to the photo in Immich 2024-11-26 18:03:46 +01:00
Eugene Burmakin
3c6f2e5ce3 Add loading spinner and checkmark 2024-11-26 17:36:22 +01:00
Eugene Burmakin
428e927432 Show individual photo markers on the map 2024-11-26 16:36:02 +01:00
Eugene Burmakin
130630b997 Move Immich API request to a separate service & add photos api controller 2024-11-26 14:46:26 +01:00
Eugene Burmakin
6093f4cb33 Return sidekiq_rate_limiting 2024-11-24 15:28:09 +01:00
Eugene Burmakin
79bf74add4 Move APP_VERSION to a constant 2024-11-24 14:56:20 +01:00
Eugene Burmakin
8891313b5a Move url to the initializer 2024-11-18 15:57:41 +01:00
Eugene Burmakin
11762d528b Use POST /api/search/metadata endpoint to get geodata from Immich 2024-11-18 15:41:43 +01:00
Eugene Burmakin
afa0446fb8 Add second pagination to the points index page 2024-11-12 15:55:49 +01:00
Eugene Burmakin
aa6a3d9c26 Fix points params preserved 2024-11-12 15:54:18 +01:00
Eugene Burmakin
a66d3b3b6c Include file extension in the export name 2024-11-12 15:25:00 +01:00
Eugene Burmakin
4048f4dac6 Allow admins to create users with password and update user password 2024-11-12 14:56:48 +01:00
Eugene Burmakin
bae84d19d9 Hide admin settings from non-admin users 2024-11-12 14:47:41 +01:00
Eugene Burmakin
abf46a7436 Fix redirect after creating a user in spec 2024-11-08 21:28:45 +01:00
Eugene Burmakin
b97b30c88a Add separate page for user management 2024-11-08 17:56:14 +01:00
Eugene Burmakin
d09a4f3305 Return a GPX::GPXFile object instead of a string in Points::GpxSerializer 2024-11-08 16:47:20 +01:00
Eugene Burmakin
fb50b2944e Merge remote-tracking branch 'origin/master' into fix/gpx-valid-export 2024-11-08 16:33:34 +01:00
Eugene Burmakin
00619837df Add test for parsing speed from Garmin GPX files 2024-11-08 14:54:37 +01:00
Eugene Burmakin
5c127f913a Make sure speed is recorded when importing GPX files 2024-11-08 14:42:18 +01:00
Eugene Burmakin
3e5ddb7183 Fix importing geojson from GPSLogger for Android 2024-11-08 14:22:23 +01:00
Eugene Burmakin
a5198f3a14 Update gpx serializer to make it a valid gpx file 2024-11-08 13:45:51 +01:00
Eugene Burmakin
ea9ce874be Fix adding new notifications to the list and updating the badge count 2024-11-07 19:07:59 +01:00
Eugene Burmakin
23237b6c7c Add new notification to the list right away 2024-11-07 19:00:11 +01:00
Eugene Burmakin
4de6688827 Update daisyui version 2024-11-07 13:52:39 +01:00
Eugene Burmakin
36cd82b240 Resubscribe to the channel when the live map is enabled 2024-11-07 13:34:22 +01:00
Eugene Burmakin
31ecedb851 Enable subscription only when Live Mode is enabled 2024-11-07 13:30:58 +01:00
Eugene Burmakin
ebee214982 Add live map enabled setting 2024-11-07 13:07:54 +01:00
Eugene Burmakin
853d02cd80 Add Imports::Broadcaster to Immich::ImportParser 2024-11-04 13:14:26 +01:00
Eugene Burmakin
3ba70e906f Add Imports::Broadcaster to some more parsers 2024-11-04 13:14:06 +01:00
Eugene Burmakin
4a3f7d5e65 Implement live points count update for imports 2024-11-04 13:06:04 +01:00
Eugene Burmakin
9cc9632b6d Remove unused parser from imports create service 2024-11-04 11:58:15 +01:00
Eugene Burmakin
31f0ee5eab Remove unnecessary code 2024-11-03 20:09:53 +01:00
Eugene Burmakin
d6c3a7ba03 Show popup with timestamp when new point is added 2024-11-03 19:28:33 +01:00
Eugene Burmakin
9c99a835de Implement live map updates with WebSockets 2024-11-03 16:48:43 +01:00
Eugene Burmakin
bec9db1198 Use notifications badge 2024-11-03 15:21:29 +01:00
Eugene Burmakin
14b7397840 Add raw implementation of notifications interactive channel 2024-11-03 14:37:01 +01:00
Eugene Burmakin
34c12a9536 Add GET /api/v1/countries/borders endpoint to get countries for scratch map feature 2024-11-01 20:49:59 +01:00
Eugene Burmakin
fd0ce76e22 Remove unused constant 2024-11-01 14:07:09 +01:00
Eugene Burmakin
bc28babf15 Use local countries.geojson 2024-11-01 14:05:16 +01:00
Eugene Burmakin
dd91b581f5 Update changelog 2024-11-01 13:53:38 +01:00
Eugene Burmakin
1c62ef61b1 Disable scratch map layer by default 2024-11-01 13:43:21 +01:00
Eugene Burmakin
ef7b4c1fba Reorder js functions for scratch map a bit 2024-11-01 13:40:37 +01:00
Eugene Burmakin
db880a0d5d Add very raw scratch map 2024-11-01 13:29:24 +01:00
Eugene Burmakin
f692e78159 Change directory used in the instructions to import Records.json from Google Takeout 2024-10-29 11:58:09 +01:00
Eugene Burmakin
d3f6d0da7b Rework the app version checking to be performed in the background and update docker compose file to use different directories for gems cache 2024-10-29 11:53:44 +01:00
Eugene Burmakin
609688f144 Write Immich debug data and fix Sidekiq healthcheck 2024-10-29 11:53:44 +01:00
Eugene Burmakin
2574f2e4f3 Remove comments 2024-10-24 17:22:54 +02:00
Eugene Burmakin
a4aaa0294f Limit stats update after import to the timespan of the imported data 2024-10-24 17:20:37 +02:00
Eugene Burmakin
19b12462b8 Remove CreateStats service 2024-10-24 17:00:36 +02:00
Eugene Burmakin
d218ed8151 Fix stats distances and rework stas calculating service 2024-10-24 16:59:15 +02:00
Eugene Burmakin
c0b0716f28 Update radio buttons 2024-10-22 12:02:12 +02:00
Eugene Burmakin
c219e7a7b4 Add points rendering mode modal 2024-10-20 20:55:43 +02:00
Eugene Burmakin
eee33d13fa Remove PointsReduce class 2024-10-20 20:34:34 +02:00
Eugene Burmakin
54825f0d0a Move the showFlashMessage function to the helpers.js file and export it 2024-10-20 20:32:51 +02:00
Eugene Burmakin
b4db5f9376 Move the code for handling areas, markers and polylines to separate files 2024-10-20 20:23:58 +02:00
Eugene Burmakin
d0c373b30b Use strong instead of b tag for the popup content 2024-10-20 19:06:37 +02:00
Eugene Burmakin
6bf8006c59 Implement simple points reducer 2024-10-20 00:28:54 +02:00
Eugene Burmakin
50b77cc493 Fix Owntracks .rec file import 2024-10-19 19:29:43 +02:00
Evgenii Burmakin
2015a6f7d1
Merge pull request #281 from saschazepter/fix/import-google-timeline
Allow different timestamp formats in Google exports to be parsed
2024-10-18 13:37:31 +02:00
Eugene Burmakin
1a0d68ab58 Add map borders and change default timeframe on the Map page 2024-10-16 15:25:22 +02:00
Eugene Burmakin
10734f26ae Use RecParser in ExportParser 2024-10-16 10:54:56 +02:00
Eugene Burmakin
786ce722d1 Fix test according to new file format for Owntracks 2024-10-15 22:41:49 +02:00
Eugene Burmakin
11d024127e Update owntracks params spec 2024-10-15 22:30:16 +02:00
Eugene Burmakin
a2f3aef608 Implement support for OwnTracks REC files 2024-10-15 22:17:51 +02:00
Sascha Zepter
11ad2165ae
Merge branch 'Freika:master' into fix/import-google-timeline 2024-10-07 15:34:00 +02:00
Eugene Burmakin
6febd40b4f Change watcher to look into user directories 2024-10-05 12:53:35 +02:00
Eugene Burmakin
40e5477a00 Disable retries for some background jobs 2024-10-03 15:33:31 +02:00
Eugene Burmakin
b79bb9951c Add test for Import::WatcherJob 2024-10-03 15:27:30 +02:00
Eugene Burmakin
d4e2e5006e Implement creating imports from watched directory 2024-10-03 15:08:23 +02:00
Eugene Burmakin
6566455a2f Move import jobs to the Import namespace 2024-10-03 14:04:37 +02:00
Eugene Burmakin
9316fe618c Update responsiveness for the map page 2024-10-02 23:41:46 +02:00
Eugene Burmakin
9d4cc7a4cf Move point serializers to API namespace 2024-10-02 21:58:19 +02:00
Eugene Burmakin
df430851ce Add optional order query parameter to GET /api/v1/points 2024-10-02 21:29:56 +02:00
Sascha Zepter
b8172c86e3
Merge branch 'Freika:master' into fix/import-google-timeline 2024-09-30 23:48:00 +02:00
Eugene Burmakin
d2aa1e9381 Include id attribute in slim points response 2024-09-30 23:38:32 +02:00
Eugene Burmakin
ec793fe4aa Fix incorrect timestamps for Google Location History (mobile device) points 2024-09-30 23:31:42 +02:00
Sascha Zepter
2231c0aab9
Merge branch 'Freika:master' into fix/import-google-timeline 2024-09-30 22:38:16 +02:00
Sascha Zepter
eb892dde9a Refactor parse_timestamp: move to lib/timestamps.rb 2024-09-30 14:49:11 +00:00
Eugene Burmakin
7f61cbe31e Fix point page reloads when searching for points 2024-09-28 17:29:56 +02:00
Evgenii Burmakin
d76e1a4052
Merge pull request #268 from gboudreau/fix/gh-194-timespans-in-negative-tz
Bugfix: when calculating the timestamp (for months and years), ignore the Timezone
2024-09-28 18:17:22 +03:00
Eugene Burmakin
2d26418337 Add specs for GoogleMaps::SemanticHistoryParser 2024-09-28 17:09:44 +02:00
Eugene Burmakin
9a962bca72 Fix visits map not being rendered correctly in the Visits page 2024-09-28 16:58:17 +02:00
Eugene Burmakin
6f2486b8ec Fix bulk destroy redirect 2024-09-28 16:50:59 +02:00
Eugene Burmakin
4d743ae314 Preserve start_at and end_at parameters when deleting points from the Points page 2024-09-28 16:50:59 +02:00
Evgenii Burmakin
911794e9ee
Merge pull request #223 from eltociear/patch-1
chore: update index.html.erb
2024-09-28 16:25:31 +03:00
Eugene Burmakin
f50b11166b Fix GPX export 2024-09-28 12:58:22 +02:00
Eugene Burmakin
d517b72f69 Disable map layers from Stadia due to their requirement of an api key 2024-09-28 12:58:22 +02:00
Sascha Zepter
6077776880
Allow different timestamp formats in Google exports to be parsed 2024-09-24 22:46:52 +02:00
Eugene Burmakin
7b876ea754 Fix GPX export timestamps and add slim version of points 2024-09-24 00:10:39 +02:00
Guillaume Boudreau
644b7f489d Bugfix: when calculating the timestamp (for months and years), ignore the Timezone
Fixes GH-194
2024-09-22 07:32:33 -04:00
Eugene Burmakin
108120ce1c Update text on the landing page 2024-09-19 19:57:51 +02:00
tetebueno
e2c45bad46
Creating exports directory if it doesn't exist.
On my first export I found out that it failed because the exports directory didn't exist. Creating the directory and retrying the export fixed it.
2024-09-16 16:10:19 -03:00
Eugene Burmakin
548d0b0e7a Fix map not loading due to invalid tile layer name 2024-09-16 20:52:51 +02:00
Eugene Burmakin
caa77be67f Add 17 new tile layers to choose from 2024-09-15 21:04:13 +02:00
Evgenii Burmakin
cbaf1956a3
Merge branch 'master' into fix/visits-notificaton-url 2024-09-15 20:58:13 +03:00
sunstep
6d05065659
Convert the headers to string
It seems like all HTTP headers are string, while other types may work, its more safe to convert the types to strings to ensure no trouble is caused by non string types. Even if it does work, at least now the types are consistent, as headers are being put as string and they are also retrieved as string.
2024-09-15 12:07:46 +02:00