Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add audio mode settings #100

Merged
merged 233 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from 231 commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
3a616e5
- Updated bootstrap-vue-next lib
hardiesoft Feb 22, 2024
d741f3d
- Fix mask regions tests
hardiesoft Feb 25, 2024
ec55c12
- Fix mask regions tests (2, linting)
hardiesoft Feb 25, 2024
11efeb6
- Fix sunset/sunrise in visits breakdown
hardiesoft Feb 26, 2024
b3c127d
- Fix reference photo component, make it work on mobile.
hardiesoft Feb 27, 2024
253e517
- Reference photos are properly scaled when overlaying on CptvPlayer …
hardiesoft Feb 28, 2024
2949641
- Trail cameras use an appropriate daytime image as an automatic refe…
hardiesoft Mar 5, 2024
e8d7642
- Added a dummy track to trailcam recordings where there is no track …
hardiesoft Mar 6, 2024
2a8a612
- Styling dummy track
hardiesoft Mar 6, 2024
149d05a
- Fix tests
hardiesoft Mar 6, 2024
467bdf7
- Added ability to add a dummy track to a CPTV file that has no tracks.
hardiesoft Mar 6, 2024
182d4a0
- Improved behaviour when mashing on next/prev buttons in CPTV player…
hardiesoft Mar 6, 2024
71ae1c5
- Fix null settings read in mask-regions API
hardiesoft Mar 7, 2024
c4d94f5
- Remove stations wording on Dashboard
hardiesoft Mar 7, 2024
2094337
- API Documentation fix
hardiesoft Mar 7, 2024
f28bfd0
- Don't send algorithm with tracks, use default
hardiesoft Mar 7, 2024
5975615
- Fix mask-regions api read
hardiesoft Mar 7, 2024
1660bb6
- Clone rather than always update in place DeviceHistory entries for …
hardiesoft Mar 10, 2024
0cbda0c
- Clone rather than always update in place DeviceHistory entries for …
hardiesoft Mar 10, 2024
2fe2acc
- Improved responsive layout for activity search
hardiesoft Mar 15, 2024
8f1a1f5
- Improved responsive layout for activity search
hardiesoft Mar 17, 2024
15d68cd
- Improved responsive layout for activity search
hardiesoft Mar 20, 2024
ab6c297
- Add UI to visits when recordings are still processing
hardiesoft Mar 21, 2024
6db1aad
- Make sure player inherits query params from parent component
hardiesoft Mar 25, 2024
cdcc6ee
- Don't delete previous reference images
hardiesoft Mar 25, 2024
d1548af
Scale UP:
hardiesoft Apr 3, 2024
f1c347f
Scale UP:
hardiesoft Apr 10, 2024
becfc05
Merge branch 'main' of https://github.com/TheCacophonyProject/cacopho…
hardiesoft Apr 23, 2024
f4bba2d
Merge branch 'main' of https://github.com/TheCacophonyProject/cacopho…
hardiesoft Apr 30, 2024
b9a5134
Merge main
hardiesoft Apr 30, 2024
e36678b
Merge branch 'main' of https://github.com/TheCacophonyProject/cacopho…
hardiesoft May 1, 2024
a910391
Merge main, add all tagModes to improved bulk query.
hardiesoft May 1, 2024
3759ded
Address review feedback.
hardiesoft May 5, 2024
4616e97
Small fixes
hardiesoft May 5, 2024
9da4057
Small fixes (2)
hardiesoft May 6, 2024
3fdc89b
Small fixes (3)
hardiesoft May 6, 2024
de90832
Small fixes (3)
hardiesoft May 6, 2024
530889c
Small fixes (4)
hardiesoft May 6, 2024
6217727
Get rid of legacy bulk recordings query in browse-next
hardiesoft May 6, 2024
511e5bb
Rework bulk-query, fixing edge-cases and adding more comprehensive te…
hardiesoft May 21, 2024
dbd251f
Merge branch 'main' of https://github.com/TheCacophonyProject/cacopho…
hardiesoft May 21, 2024
2745512
Fix tests
hardiesoft May 22, 2024
c5ed655
Fix tests (2)
hardiesoft May 22, 2024
b48004f
Make sure we return recordings in the correct order.
hardiesoft May 22, 2024
e9c15a0
Auth.
hardiesoft May 22, 2024
46a3731
Make sure we send recording type when querying!
hardiesoft May 22, 2024
b571fa1
Auth again
hardiesoft May 22, 2024
62ea89e
Fix recordings export report
hardiesoft May 22, 2024
5132c72
Export larger pages to increase export speed, increase
hardiesoft May 22, 2024
c2f1d16
Fix issue where we try to request things from inactive devices and ge…
hardiesoft May 23, 2024
0f82183
Make sure deleted recordings are not included by default in new bulk …
hardiesoft May 27, 2024
9186725
Make sure deleted recordings are not included by default in new bulk …
hardiesoft May 27, 2024
2106880
add recording window and low power mode settings
Jun 6, 2024
85ac579
fix lint
Jun 6, 2024
88b0c5a
fix for device extract, move settings up
Jun 6, 2024
6135581
readd location check
Jun 6, 2024
fcb8744
Misc fixes and improvements, starting on non-paginated visits API.
hardiesoft Jun 11, 2024
da48289
Linting
hardiesoft Jun 12, 2024
e04a16a
Fix tests
hardiesoft Jun 12, 2024
a12de73
Fix tests (2)
hardiesoft Jun 12, 2024
bb27361
Fix error event logging
hardiesoft Jun 16, 2024
10fa244
Fix cron script permissions for platform usage report
hardiesoft Jun 16, 2024
6cc5982
Update docker-compose.yml
hardiesoft Jun 16, 2024
68072c1
Add alert relationship for project-wide alerts
hardiesoft Jun 17, 2024
851ddd5
Link to device recordings search from device page
hardiesoft Jun 17, 2024
de226c1
Link to device recordings search from device page
hardiesoft Jun 17, 2024
d3c8374
Add ability for the user to manage their own email alerts via browse-…
hardiesoft Jun 19, 2024
1eb5064
Linting
hardiesoft Jun 19, 2024
4c204ab
Fix tests
hardiesoft Jun 19, 2024
a2ca065
Improve device -> recordings button appearance on mobile.
hardiesoft Jun 23, 2024
4280392
Improve service report email, improve alert email
hardiesoft Jun 26, 2024
1ce6070
Service email should only be for the last 24 hours
hardiesoft Jun 26, 2024
b4cf232
Improve formatting of service errors.
hardiesoft Jul 1, 2024
368821d
Make stopped alerts work for thermal devices we didn't hear from in o…
hardiesoft Jul 1, 2024
449e96c
Fix latest recording times update for groups.
hardiesoft Jul 1, 2024
8880c94
Fix latest recording times update for groups. (2)
hardiesoft Jul 1, 2024
f5bd5b6
Update stopped device email text
hardiesoft Jul 1, 2024
1b305c8
Update stopped device email text (2)
hardiesoft Jul 1, 2024
e31c4bf
Revamp stopped devices notification email.
hardiesoft Jul 2, 2024
0c7cd67
Skip heartbeat tests (no longer rely on heartbeats for stops)
hardiesoft Jul 2, 2024
2a0ad47
Make alert animal image link to recording.
hardiesoft Jul 2, 2024
c980761
Tweak stopped devices logic
hardiesoft Jul 2, 2024
77fb66f
Tweak stopped devices logic again
hardiesoft Jul 2, 2024
674f06a
Fleshing out daily/weekly digest emails + user preferences.
hardiesoft Jul 3, 2024
e80a9ef
Merge tag 'v1.30.9' into feat-sync-settings
Zainrax Jul 8, 2024
ed5a9f1
add fox tag
Zainrax Jul 8, 2024
94958e8
Daily+weekly digest emails.
hardiesoft Jul 9, 2024
8f8d0df
Add missing tag icons.
hardiesoft Jul 9, 2024
62df404
Add missing tag icons. (2)
hardiesoft Jul 9, 2024
33ac8d4
Add fox tag
hardiesoft Jul 9, 2024
adcdc94
Add ability to hide false-trigger tracks in Recording View.
hardiesoft Jul 9, 2024
8706514
White outlines around email tag classification icons so that they sho…
hardiesoft Jul 9, 2024
2b60aea
- Improve thumbnail selection in recordings view.
hardiesoft Jul 10, 2024
5586662
- Diagnostics
hardiesoft Jul 10, 2024
206b7bf
fix device settings
Zainrax Jul 11, 2024
93d2de2
Merge tag 'v1.30.14' into feat-sync-settings
Zainrax Jul 11, 2024
d712533
fix time format in settings
Zainrax Jul 11, 2024
efed3db
- Adjust stopped device query
hardiesoft Jul 14, 2024
79ae4e9
Merge remote-tracking branch 'origin/visits-api-upgrade' into feat-sy…
Zainrax Jul 14, 2024
57327a7
- Add ability for super-users to view any group they're not already p…
hardiesoft Jul 15, 2024
30f0cb3
- Implement deletion of recordings in browse-next and tweak deletion …
hardiesoft Jul 16, 2024
09def4c
- Modify locations query to be able to return only locations that don…
hardiesoft Jul 16, 2024
7799a63
- Do latest time fixups for bulkDelete API too.
hardiesoft Jul 16, 2024
7914e48
- Fix tooltips for activity search
hardiesoft Jul 16, 2024
4b41859
- Fix local saving of view false-triggers setting when viewing as a s…
hardiesoft Jul 17, 2024
8c3ee69
- Fix hiding of AI false-trigger tags for tracks where there is a use…
hardiesoft Jul 17, 2024
1292531
- Fix requests for tracks that are user-created and don't have thumbn…
hardiesoft Jul 21, 2024
6fdf7ce
- Fix user settings persistence
hardiesoft Jul 21, 2024
c3cab78
- Fix issue with removing track tags twice.
hardiesoft Jul 21, 2024
5fd39c7
- Cosmetic tweak – images that fail to load.
hardiesoft Jul 22, 2024
646074a
- Fix thumbnail selection code.
hardiesoft Jul 22, 2024
c782c1e
- Fix display of sunset/sunrise times in visits breakdown for 24/7 ca…
hardiesoft Jul 22, 2024
6227ce2
- Fix date offsets for digests
hardiesoft Jul 29, 2024
51048af
- Fix date offsets for digests
hardiesoft Jul 29, 2024
bac35c4
- Fix date offsets for digests
hardiesoft Jul 29, 2024
decca02
- Fix date offsets for digests (2)
hardiesoft Jul 29, 2024
b7d6bd9
- Remove beta version wording, add additional filter events
hardiesoft Jul 29, 2024
bd25935
- Fixes for digest email timings and thumbnail selection.
hardiesoft Jul 30, 2024
e2d3c29
- Allow viewing live thumbnails and cptv recordings in local dev mode.
hardiesoft Jul 30, 2024
69189e2
- Fix unitVersion grouping in daily service error emails.
hardiesoft Jul 30, 2024
4e643db
- Linting
hardiesoft Jul 30, 2024
7f4c7e9
- Additional options for finding a project to view as a super-user
hardiesoft Jul 31, 2024
530455c
fix to make update device settings invariant
Zainrax Aug 1, 2024
4593c57
Merge tag 'v1.31.2' into feat-sync-settings
Zainrax Aug 1, 2024
a12a2b8
only update if changed
Zainrax Aug 2, 2024
63005db
- Complete reset password flow for browse-next.
hardiesoft Aug 4, 2024
a070cb8
- Complete reset password flow for browse-next.
hardiesoft Aug 6, 2024
dd19ca1
- Make project switcher work better
hardiesoft Aug 6, 2024
e66e765
- Fix linting errors
hardiesoft Aug 6, 2024
0366ecd
- Fix broken activity lists
hardiesoft Aug 7, 2024
7073a70
- Fix CPTV player resizing when browser window is very short vertical…
hardiesoft Aug 8, 2024
6b97f3d
- Fix type import
hardiesoft Aug 8, 2024
4d54f29
- Updated device view, device "dashboard" WIP
hardiesoft Aug 8, 2024
87bc4d9
- Updated device view, device "dashboard" WIP (2)
hardiesoft Aug 8, 2024
79e429e
- Fix visitContext filtering on dashboard.
hardiesoft Aug 8, 2024
420d710
- Fix recording window length calulation for absolute recordindg wind…
hardiesoft Aug 9, 2024
9e8b9b9
- In daily/weekly digest emails, try to fall back to another parent c…
hardiesoft Aug 12, 2024
bba2b90
- Improve thumbnail selection for recordings list.
hardiesoft Aug 12, 2024
472f3e2
- Improve pathological cases of recording search where there are many…
hardiesoft Aug 13, 2024
037133e
- Handle recordings export where there are (legacy) recordings withou…
hardiesoft Aug 13, 2024
c498fee
- Abort in-flight requests if multiple searches are done in quick suc…
hardiesoft Aug 14, 2024
713cbc7
- Fix station-related tests to not use status-recording length test r…
hardiesoft Aug 14, 2024
b19937b
- When we delete the last recording that isn't a status recording, pr…
hardiesoft Aug 15, 2024
2305923
- Handle aborted activity search queries more gracefully in the UI.
hardiesoft Aug 15, 2024
23437a5
- Handle aborted activity search queries more gracefully in the UI. (2)
hardiesoft Aug 15, 2024
baef451
- Fix recording export length truncation when using non-advanced export
hardiesoft Aug 15, 2024
a8f0dcc
- Fix recording export length truncation when using non-advanced expo…
hardiesoft Aug 15, 2024
fc2d908
add device sync-settings to browse-next
Zainrax Aug 19, 2024
644303a
- Fixes to dashboard showing non-predator visits and locations
hardiesoft Aug 19, 2024
10751e6
- Make max-zoom on maps be not quite as zoomed in (15), since sometim…
hardiesoft Aug 19, 2024
1e31f23
- Tidy locations page some more
hardiesoft Aug 19, 2024
91e3159
merge and add location check on settings endpoint
Zainrax Aug 19, 2024
1de449a
fix custom recording windows
Zainrax Aug 20, 2024
fd50ede
Merge commit '1e31f23' into feat-sync-settings
Zainrax Aug 20, 2024
1475708
- Change page size calculation for recordings search.
hardiesoft Aug 20, 2024
810f48b
Merge branch 'visits-api-upgrade' of https://github.com/TheCacophonyP…
hardiesoft Aug 20, 2024
f1515e0
- Add a script to fixup device history settings corruption by ratThre…
hardiesoft Aug 20, 2024
2da43cf
- Make ratThresh script only update device settings if there are new …
hardiesoft Aug 21, 2024
9bb0efc
Merge branch 'feat-sync-settings' of https://github.com/TheCacophonyP…
hardiesoft Aug 21, 2024
8f02f2c
- Make ratThresh script only update device settings if there are new …
hardiesoft Aug 21, 2024
72df134
remove loction from device history settings. Remove poweron/off for tc2
Zainrax Aug 22, 2024
ab29641
- Adding test coverage for device-settings
hardiesoft Aug 26, 2024
8740a4d
Merge branch 'feat-sync-settings' of https://github.com/TheCacophonyP…
hardiesoft Aug 26, 2024
f0c0774
- Make sure location specific device settings get purged when creatin…
hardiesoft Aug 26, 2024
2717984
minor fix on settings api, handle no settings in browse next
Zainrax Aug 26, 2024
3930a12
- Fix tagged recording query
hardiesoft Aug 27, 2024
e40925f
Merge branch 'feat-sync-settings' of https://github.com/TheCacophonyP…
hardiesoft Aug 27, 2024
dc9b941
- Sync changes with upstream.
hardiesoft Aug 27, 2024
df125b7
- Remove ratthreshold debug code
hardiesoft Aug 27, 2024
843d2da
- Fix UI tests
hardiesoft Aug 27, 2024
f28bf99
- Moving settings sync UI to device setup tab (WIP)
hardiesoft Aug 28, 2024
e432cf5
- Moving settings sync UI to device setup tab
hardiesoft Aug 29, 2024
1c1091b
- Moving settings sync UI to device setup tab
hardiesoft Aug 29, 2024
b1bd906
- Add spinner while saving window settings
hardiesoft Aug 29, 2024
0bbe56d
- Fix lastActiveTime for stations when recordings are uploaded from D…
hardiesoft Sep 4, 2024
a90a6df
- Better relative time and layout formatting for Locations view.
hardiesoft Sep 4, 2024
d3a1089
- Add device events listing for super-users.
hardiesoft Sep 5, 2024
dc30b84
- Fix clearing event filter
hardiesoft Sep 5, 2024
1514446
- Better format nested event item details.
hardiesoft Sep 5, 2024
bb5b5f8
- Fix battery level caching bug for aborted api requests
hardiesoft Sep 5, 2024
aa919ab
- Add ability to rename locations that need renaming if the current u…
hardiesoft Sep 5, 2024
3ad4b5e
- Add ability to rename locations that need renaming if the current u…
hardiesoft Sep 5, 2024
d2aa087
update to match browse-next, fix getting settings
Zainrax Sep 6, 2024
08c4c0f
- Add known device locations to audio files that are missing location…
hardiesoft Sep 10, 2024
2300e92
Merge branch 'fix-browse-sync' of https://github.com/TheCacophonyProj…
hardiesoft Sep 11, 2024
d3113a2
- Fix UI tests
hardiesoft Sep 11, 2024
e48872a
- Fix merge
hardiesoft Sep 15, 2024
4964e2e
- Fix CptvPlayer overlay when browser has pixelRatio < 1.0 (zoomed out)
hardiesoft Sep 16, 2024
0d6f8fd
- Various cosmetic fixes to browse next for mobile viewports.
hardiesoft Sep 16, 2024
f9845ab
Use github actions instead of travis
CameronRP Sep 26, 2024
d5c79d5
Update dockerhub login
CameronRP Sep 27, 2024
a4adb50
Install docker compose
CameronRP Sep 27, 2024
0ceaf10
- Added new versions of cptv-decoder
hardiesoft Oct 2, 2024
a446fde
- Added new versions of cptv-decoder
hardiesoft Oct 2, 2024
18bb082
Merge branch 'use-github-actions' of https://github.com/TheCacophonyP…
hardiesoft Oct 2, 2024
a8afd1a
- Fix test
hardiesoft Oct 2, 2024
be8c4ef
- Remove vestiges of unused vue-multiselect.
hardiesoft Oct 2, 2024
bce7777
- Bump cptv-player-vue version
hardiesoft Oct 2, 2024
068dd64
- Bump cptv-player-vue version (2)
hardiesoft Oct 2, 2024
aacfa3a
- Only set device active when getting a new recording uploaded via si…
hardiesoft Oct 2, 2024
dca3908
- Fix log warning.
hardiesoft Oct 6, 2024
163f964
- Fix vie build error?
hardiesoft Oct 6, 2024
2443011
- Update eslint on browse-next
hardiesoft Oct 7, 2024
5042ed8
- Parallelize github actions jobs
hardiesoft Oct 7, 2024
dacaf3d
- Add logging to release build script
hardiesoft Oct 7, 2024
7977d7a
- Add logging to release build script (2)
hardiesoft Oct 7, 2024
b20b564
- Add IS_CI_ENV to release job.
hardiesoft Oct 7, 2024
1f11886
- Fix sub-species use of icons in digest emails
hardiesoft Oct 7, 2024
735ea29
- Clicking a visit should always select+display the first recording i…
hardiesoft Oct 7, 2024
c12553b
- Split api integration tests into two batches of roughly equal time …
hardiesoft Oct 8, 2024
efe1230
- Split api integration tests into two batches of roughly equal time …
hardiesoft Oct 8, 2024
a36f26d
- Check pwd for tests.
hardiesoft Oct 8, 2024
7c1c506
- Actually add moved spec files!
hardiesoft Oct 8, 2024
dd84533
- Re-balance test batches
hardiesoft Oct 8, 2024
16d18eb
- Clean up test external type imports
hardiesoft Oct 8, 2024
04a42a4
- Use npm cache
hardiesoft Oct 8, 2024
814a772
- Use npm ci instead of npm install to take advantage of github actio…
hardiesoft Oct 8, 2024
0a2afbb
- More comprehensive testing of deleted, inactive and reassigned devi…
hardiesoft Oct 15, 2024
677bbcc
- Before re-registering a device in tests, make sure it has at least …
hardiesoft Oct 15, 2024
3f7c7f1
- Fix routing
hardiesoft Oct 15, 2024
a786de3
- If moving a device from the new group, soft delete all recordings m…
hardiesoft Oct 15, 2024
fee64c7
- Show when there are no events for device in the last month
hardiesoft Oct 16, 2024
a13cf5a
- Only check battery levels on devices we think aren't stopped or off…
hardiesoft Oct 16, 2024
680d73f
- Fix device status image retrieval.
hardiesoft Oct 16, 2024
10cf4bf
- Sometimes we need to keep asking for frames till we get a good one …
hardiesoft Oct 16, 2024
5bea4e5
- Sometimes we need to keep asking for frames till we get a good one …
hardiesoft Oct 20, 2024
7e723d9
Merge branch 'main' of https://github.com/TheCacophonyProject/cacopho…
hardiesoft Oct 22, 2024
8fbd885
add audio mode settings
Zainrax Oct 30, 2024
6e1ff97
- Fix latest status recording not selecting device.
hardiesoft Nov 3, 2024
25e1222
- Force use of "audio/mp4" mime-type for .aac files.
hardiesoft Nov 5, 2024
dd6ee7a
Merge remote-tracking branch 'origin/fix-latest-device-status-recordi…
Zainrax Nov 5, 2024
d7d294b
- Fix request host headers if they get re-written to default to brows…
hardiesoft Nov 19, 2024
dacd32b
Merge branch 'fix-latest-device-status-recording' of https://github.c…
hardiesoft Nov 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api/api/V1/recordingUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,9 @@ export function signedToken(
export const guessMimeType = (type, filename): string => {
const mimeType = mime.getType(filename);
if (mimeType) {
if (mimeType === "audio/x-aac") {
return "audio/mp4";
}
return mimeType;
}
switch (type) {
Expand Down
1 change: 1 addition & 0 deletions browse-next/src/api/Device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ export const getLatestStatusRecordingForDevice = (
params.append("max-results", "1");
params.append("types", "thermal");
params.append("include-false-positives", true.toString());
params.append("devices", deviceId.toString());
if (use2SecondRecordings) {
params.append("status-recordings", true.toString());
}
Expand Down
2 changes: 2 additions & 0 deletions browse-next/src/components/CptvSingleFrame.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ const loadRecording = async () => {
);
frameData.value = new ImageData(buffer, 160, 120);
renderFrame();
} else {
break;
}
}
}
Expand Down
Loading
Loading