Sascha Hagedorn and Linus Groh
f5c1c82010
Display address in device location popup
...
`addr` is part of the response for reverse geolocation lookups. `address` is already used in `LDeviceLocationPopup` and needs to be passed in from the map.
Closes #31
2022-03-14 22:27:52 +00:00
Linus Groh
3ea1d02c65
Show SSID and BSSID in location popup if available
2022-02-11 23:46:26 +00:00
Linus Groh
f91341b205
Add new properties to the OTLocation interface
2022-02-11 23:23:29 +00:00
Linus Groh
0c983d6206
Upgrade dependencies
...
Also rename a few components to match the multi-word recommendation and
add "Map" to the ignorelist of the vue/multi-word-component-names ESLint
rule.
A couple of major version bumps are currently blocked by upgrading the
project to Vue 3.
2022-02-11 22:23:16 +00:00
Linus Groh
5e37c7f4b8
Sort device location history entries by timestamp
...
Fixes #67 .
2021-11-28 17:52:28 +00:00
Linus Groh
7dda60d457
Ensure all SCSS files are formatted with prettier
2021-11-28 17:33:32 +00:00
Linus Groh
228900ff9f
Upgrade vue-js-modal to v2
2021-11-28 17:33:08 +00:00
Linus Groh
4031bda2f0
Reformat files with updated prettier
2021-05-28 17:37:35 +01:00
Linus Groh
fdddd8e035
Add cancel button to loading modal
2021-02-24 20:07:47 +01:00
Linus Groh
245c1295e5
Fix JSDoc return type annotations of async functions
...
These don't return the mentioned type directly, but a promise containing
this type, which has to be await'ed first. This was confusing my IDE's
tslint which suggested await would not be necessary.
2021-02-24 20:07:47 +01:00
Linus Groh
9786487646
Move .distance-travelled SCSS to scoped <style>
2021-02-24 20:07:47 +01:00
Linus Groh
55178c7cc8
Add "Elevation gain / loss" es-ES and fr-FR translations
...
Based on help from computers & friends, I'm sure both know better than I
do!
2021-02-19 18:54:27 +01:00
Linus Groh
2fcf2151fa
Add elevation gain / loss to distance travelled stats
...
Closes #51 .
2021-02-18 22:05:46 +01:00
Linus Groh
6359b4783c
Add missing i18n for "Loading version..."
...
Hopefully DeepL got the translations for French and Spanish right...
2021-02-14 13:51:34 +01:00
Linus Groh
4679f7fbb7
Add en-GB translations
2021-02-14 13:23:29 +01:00
Linus Groh
b29cd12ed9
Use xx-XX format for translation files and default to en-US
...
Many languages have different variants, so instead of "en" we should be
using "en-US" - this will make it possible to add slightly different
British English translations, for example.
Note that this was already supported for the `locale` config option, we
were simply discarding the part after the dash when looking for the
right translation file.
Also make sure the en-US translations are actually American English,
I'll add en-GB separately.
2021-02-14 13:21:54 +01:00
Elu43 and GitHub
27070812a4
Add French translations
2021-02-14 12:49:07 +01:00
Linus Groh
4bb9a20787
Fix incomplete Config interface in index.d.ts
...
Haven't looked at this in a while. :)
2021-01-11 18:53:34 +01:00
Linus Groh
045e635c21
Add router.basePath config option for deployments at non-webroot
...
This is in preparation of configuring Vue with publicPath: "".
2020-12-29 19:17:11 +01:00
Karmanyaah Malhotra and Linus Groh
6d4d47b5a1
Fix getApiUrl() for baseUrl with trailing slash
2020-10-27 17:52:07 +00:00
Linus Groh
3fbf0a2ff1
Upgrade dependencies
2020-09-07 21:46:17 +01:00
Linus Groh
206eb268fa
Add onLocationChange.fitView config option
...
It defaults to false now, which is a change - this seems like a sensible
choice though. I can see how it would be annoying to have the map change
while looking at it just because *something* moved.
Fixes #41 .
2020-09-07 21:30:47 +01:00
Linus Groh
1282d93769
Remove datepicker buttons mobile style overrides
...
This has been fixed upstream.
2020-06-24 14:49:30 +01:00
Linus Groh
6180e52f71
Fix vertical offset of non-pin popups
2020-06-03 20:33:26 +01:00
Linus Groh
0f0f29fcee
Show regions for location on popup
2020-06-03 20:28:48 +01:00
Linus Groh
c8b0ec8b9e
Upgrade dependencies
...
This includes a major version bump of ESLint and Prettier, so also some
reformatting.
2020-05-16 13:58:48 +01:00
Linus Groh
906eb2a1b4
Fix typos causing the minAccuracy filter to work incorrectly
2020-05-16 13:50:57 +01:00
Linus Groh
b76cbdc2e6
Add filters.minAccuracy config option
...
This allows us to ignore location points which do not meet the configured
accuracy requirement.
Closes #35 .
2020-05-11 19:15:56 +01:00
Linus Groh
2c4ead262a
Add api.fetchOptions to allow customising fetch() behaviour
...
This allows sending custom HTTP headers or including cookies in the
request!
2020-05-09 15:40:50 +01:00
Linus Groh
b262ff602c
Improve mobile layout further
...
- Reduce header paddings
- Align buttons/dropdowns
2020-03-18 17:50:49 +00:00
Linus Groh
e744e2c001
Make it usable on mobile
...
Closes #19
2020-03-18 00:28:11 +00:00
Linus Groh
b3fdf1eabe
Improve verbose mode logging
...
- Support passing a log message function to `logging.log` for lazy
evaluation
- Log results (or at least lengths) of all API functions
- Log merged config during initialisation
- Log distance calculation duration
2020-03-07 00:22:56 +00:00
Linus Groh
1482833e05
Fix a few parameter type definitions
2020-03-07 00:14:59 +00:00
Linus Groh
806526380d
Replace default Leaflet marker with a custom one
...
Closes #2
2020-03-03 08:11:45 +00:00
Linus Groh
798a0af97d
Update function documentations
2020-03-01 20:56:28 +00:00
Linus Groh
3c92a77847
Fix typo in OTLocation.inregions comment
2020-03-01 20:55:52 +00:00
Linus Groh
b252a6580a
Use TypeScript interface for websocket calllback
2020-03-01 20:53:38 +00:00
Linus Groh
9ce9933d11
Remove unused properties from Config interface
2020-03-01 20:34:21 +00:00
Linus Groh
f22db6301b
Merge branch 'master' into clean-up-the-typing-mess
2020-03-01 20:33:00 +00:00
Linus Groh
3b18ab58ed
Replace map initial center/zoom config with auto fitting
...
Closes #23
2020-03-01 20:28:15 +00:00
dtorner and GitHub
b1ce1297ed
Create es.json
2020-02-09 09:47:11 +01:00
Linus Groh
f4262efaa4
Change distance travelled label to title
...
See https://github.com/owntracks/frontend/issues/22#issuecomment-583698919
2020-02-08 11:50:48 +00:00
Linus Groh
a2109a5802
Fix humanReadableDistance JSDoc
...
That's what you get from copy & paste...
2020-02-07 21:51:39 +00:00
Linus Groh
4078597f7a
Add "distance travelled" feature
2020-02-07 21:20:38 +00:00
Linus Groh
c1f58c992e
Support locale with language and region part
2020-02-06 21:26:21 +00:00
Linus Groh
95613753a9
Enable ESLint max-len rule
2020-01-26 00:49:15 +00:00
Linus Groh
cfa3052a0a
Show name and face on location history popups
2020-01-26 00:40:30 +00:00
Linus Groh
0bd84f4de5
s/@return/@returns
2020-01-26 00:38:36 +00:00
Linus Groh
85e51643bf
Add missing alt/title to device face image
2020-01-25 23:37:41 +00:00
Linus Groh
6cbdf30580
Use computed prop for device name in location popup
2020-01-25 23:33:10 +00:00