Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
403 commits
Select commit Hold shift + click to select a range
1407c3f
Added new dialog page
maroisem Dec 16, 2025
ea25f47
Fixed bug #149 (PR #214)
rhit-steineig Dec 16, 2025
a2bc5bf
Add cspell config file + fix assorted typos/formatting
budak7273 Dec 17, 2025
65332c4
Add example secrets based on secrets.env from the docs
budak7273 Dec 17, 2025
4c37a1c
Update formatting + link to our other docs
budak7273 Dec 17, 2025
b7510c8
Update dev setup directions
budak7273 Dec 17, 2025
f08d366
Update containers to node 22 instead of node 20
budak7273 Dec 17, 2025
e2ff2df
Organize gitignore
budak7273 Dec 17, 2025
c1faa5f
Fix dockerignore by moving it to repo root. Add additional ignored pa…
budak7273 Dec 17, 2025
0a08979
Add "open in browser" button to dev helper
budak7273 Dec 17, 2025
d08b681
Open feedback and past versions in new tab, monospace font version nu…
budak7273 Dec 17, 2025
65e06f8
Remove comment from testing dockerignore
budak7273 Dec 17, 2025
65639f7
Merge pull request #219 from AssetAtlasTracker/maroisem/admin-see-use…
maroisem Dec 17, 2025
1e63f31
Merge branch 'main' into rob-fixes
budak7273 Dec 17, 2025
9f2cb96
Removed old dockerfile
budak7273 Dec 17, 2025
63ff7bb
Fix secrets typo
budak7273 Dec 17, 2025
3a6fa15
Secret displays on page as well
maroisem Dec 18, 2025
ccf962c
Replace "is_google" with service_type in logins db model
maroisem Dec 18, 2025
c387b2a
Changed GET request to POST
maroisem Dec 18, 2025
0e6e925
Full OTP flow works
maroisem Dec 18, 2025
a98901f
Fixed 'duplicate' button (#228)
rhit-steineig Dec 18, 2025
23fa878
Merge branch 'main' of https://github.com/AssetAtlasTracker/AssetAtlas
FaronAan Dec 21, 2025
116ea55
Updated dev setup file info
1FoxInTheBox1 Jan 6, 2026
d66ec5c
fixed tooltip text clipping
rhit-steineig Dec 17, 2025
5602604
Merge pull request #239 from AssetAtlasTracker/ny/update-dev-setup
1FoxInTheBox1 Jan 6, 2026
ae40faf
Sidebar can now be closed by clicking out of it (#237)
FaronAan Jan 6, 2026
4720609
QrCode no longer shows up for existing accounts
maroisem Jan 6, 2026
40a0275
Fixed #108 (#240)
rhit-steineig Jan 6, 2026
0ab4818
Merge branch 'main' into rob-fixes
budak7273 Jan 7, 2026
da4c6c7
Tests for new OTP login
maroisem Jan 8, 2026
bb6643c
Testing for existing otp login
maroisem Jan 8, 2026
5383dd5
Test for no username
maroisem Jan 8, 2026
1dbd91a
Fixed bug with items test
maroisem Jan 8, 2026
5a47ddc
Tests for authenticator/verify
maroisem Jan 9, 2026
6608360
Fixed bug where OTP login didn't work if you failed it once
maroisem Jan 9, 2026
0f99708
Merge branch 'main' into maroisem/add-offline-auth
maroisem Jan 9, 2026
8119448
Merge pull request #231 from AssetAtlasTracker/rob-fixes
budak7273 Jan 9, 2026
7d16ff8
Fixed linting error
maroisem Jan 9, 2026
02562fc
break duplicate methods into new file
1FoxInTheBox1 Dec 13, 2025
6a52f4a
refactor to remove duplication
1FoxInTheBox1 Dec 14, 2025
18a5f84
Pull create item logic to new file
1FoxInTheBox1 Dec 14, 2025
b2be423
run lint
1FoxInTheBox1 Dec 16, 2025
dfcfcab
copy pop-up to mobile version
1FoxInTheBox1 Dec 16, 2025
b4a16e9
update to run syntax
1FoxInTheBox1 Dec 16, 2025
14094a7
Duplicate and Edit copies values correctly
1FoxInTheBox1 Dec 18, 2025
0376dea
front end complete
1FoxInTheBox1 Dec 21, 2025
868e7b4
temp comment out mobile UI
1FoxInTheBox1 Dec 21, 2025
8920d83
Close dialog on submit
1FoxInTheBox1 Jan 6, 2026
0585cd6
lint
1FoxInTheBox1 Jan 9, 2026
2a25667
Fixed #223 (#242)
rhit-steineig Jan 10, 2026
2d3536d
Merge branch 'main' into maroisem/add-offline-auth
maroisem Jan 11, 2026
276150c
Created a README for the release package (#236)
FaronAan Jan 11, 2026
5e9e949
Added migrate to package.json oopsie
maroisem Jan 11, 2026
c78904e
Merge branch 'maroisem/add-offline-auth' of https://github.com/AssetA…
maroisem Jan 11, 2026
f78d9ee
Made draggable windows collapsible
rhit-steineig Jan 14, 2026
4928b22
added collapse/expand icons to button
rhit-steineig Jan 14, 2026
b3ec0ba
added tooltips to floating window buttons
rhit-steineig Jan 14, 2026
611ba5d
include item name in floating window title bars
rhit-steineig Jan 14, 2026
5971b9c
fixed minor display bugs
rhit-steineig Jan 14, 2026
9714aa8
Removed TODO
maroisem Jan 14, 2026
08f6508
Added enum for service type
maroisem Jan 14, 2026
41f0010
Merge pull request #243 from AssetAtlasTracker/maroisem/add-offline-auth
maroisem Jan 14, 2026
654284d
Added item to customField enum
maroisem Jan 14, 2026
89bc7c2
Item Box autofills
maroisem Jan 14, 2026
249e808
item field can be added visually
maroisem Jan 14, 2026
691a329
Merge branch 'main' into ny/mobile-create-item
1FoxInTheBox1 Jan 14, 2026
47f6792
Merge pull request #244 from AssetAtlasTracker/ny/mobile-create-item
1FoxInTheBox1 Jan 14, 2026
787019f
Item CustomFields are now created
maroisem Jan 15, 2026
3c89d45
Checks if item is valid in create page
maroisem Jan 15, 2026
ecc3299
lint
1FoxInTheBox1 Jan 10, 2026
4e00e68
fix tailscale
1FoxInTheBox1 Jan 10, 2026
edd34d8
dialog fills window
1FoxInTheBox1 Jan 10, 2026
63b9df9
description box no longer overflows
1FoxInTheBox1 Jan 10, 2026
eded44c
fix button sizing
1FoxInTheBox1 Jan 11, 2026
3970f59
image upload w/ mounted volume
1FoxInTheBox1 Jan 13, 2026
18bfa93
reject files that are too large
1FoxInTheBox1 Jan 14, 2026
5c346fb
Upload images with tusd
1FoxInTheBox1 Jan 17, 2026
771f98c
Retrieve images
1FoxInTheBox1 Jan 17, 2026
043ce7d
fix broken tests
1FoxInTheBox1 Jan 17, 2026
bdad1e0
Escape key closes the most recent floating window (#248)
rhit-steineig Jan 20, 2026
9bc9061
Merge branch 'main' into steineig/collapsible-windows
rhit-steineig Jan 20, 2026
198ae81
Save + Add Another button
1FoxInTheBox1 Jan 20, 2026
bb18893
reset images properly
1FoxInTheBox1 Jan 21, 2026
941eb85
replaced SVGs with Lucide icons
rhit-steineig Jan 21, 2026
c2d5580
Merge pull request #250 from AssetAtlasTracker/ny/mobile-create-item
1FoxInTheBox1 Jan 21, 2026
95bd903
Merge pull request #249 from AssetAtlasTracker/steineig/collapsible-w…
rhit-steineig Jan 21, 2026
f2c8432
fix mobile image uploads
1FoxInTheBox1 Jan 21, 2026
a9ebbae
lint
1FoxInTheBox1 Jan 21, 2026
5e56b13
Can add images while editing items
1FoxInTheBox1 Jan 21, 2026
bb8d887
Merge pull request #261 from AssetAtlasTracker/ny/fix-tailscale-image…
1FoxInTheBox1 Jan 21, 2026
2a7d718
Merge pull request #262 from AssetAtlasTracker/ny/images-with-edits
1FoxInTheBox1 Jan 21, 2026
e9b86f1
Stop additional inputs when clicking info button
1FoxInTheBox1 Jan 21, 2026
d4845b5
Open tooltips by clicking/tapping
1FoxInTheBox1 Jan 21, 2026
33b41b2
Moved item view util buttons to the top of the box (directly below it…
rhit-steineig Jan 23, 2026
d871e81
EditItem page can add items as custom field
maroisem Jan 23, 2026
26676d9
separate client and server login logic
rhit-steineig Jan 21, 2026
fab3de9
updated login tests to test new logic
rhit-steineig Jan 21, 2026
6953336
Fixed bug where item names wouldn't autofill on edit item screen
maroisem Jan 23, 2026
99dac57
Item name correctly displayed and is linked
maroisem Jan 23, 2026
cb56cce
Users can check which Item they have selected
maroisem Jan 23, 2026
e58b051
Tests for finding item by ID and Name
maroisem Jan 23, 2026
d5a5953
Merge branch 'main' into marosiem/item-custom-field
maroisem Jan 24, 2026
177c09a
help
maroisem Jan 24, 2026
bd9ab13
fix 500 errors in item view
1FoxInTheBox1 Jan 24, 2026
be92e88
don't reset description on save + add another
1FoxInTheBox1 Jan 24, 2026
7387c07
Merge pull request #273 from AssetAtlasTracker/ny/fix-500-on-accessin…
1FoxInTheBox1 Jan 24, 2026
2dd2bdb
Update for bugfix
maroisem Jan 24, 2026
4afa57f
Merge branch 'main' into marosiem/item-custom-field
maroisem Jan 24, 2026
2c68fb2
Merge pull request #267 from AssetAtlasTracker/ny/fix-mobile-tooltips
1FoxInTheBox1 Jan 25, 2026
5620815
Create Item button in front of floating windows
rhit-steineig Jan 26, 2026
a858842
Changes for Ian
maroisem Jan 27, 2026
c379f7d
Merge branch 'marosiem/item-custom-field' of https://github.com/Asset…
maroisem Jan 27, 2026
7e2f258
Login redirects back to original page
maroisem Jan 27, 2026
a10e3cf
Merge pull request #271 from AssetAtlasTracker/marosiem/item-custom-f…
maroisem Jan 27, 2026
9144544
Merge pull request #274 from AssetAtlasTracker/ny/copy-over-description
1FoxInTheBox1 Jan 28, 2026
d3ca6ac
HMR working
1FoxInTheBox1 Jan 30, 2026
20cf8b4
Literal One Liner
maroisem Jan 30, 2026
e28a92b
Template and custom fields now properly duplicated on duplicate and edit
maroisem Jan 30, 2026
9f8f359
Updated template field tool tips so scroll bar doesn't appear at the …
maroisem Jan 30, 2026
d183d7d
newly created items appear on tree view
rhit-steineig Jan 23, 2026
e45c667
search works on tree view
rhit-steineig Jan 23, 2026
ef162c1
Fix commands and tusd
1FoxInTheBox1 Jan 31, 2026
e474983
Update docs
1FoxInTheBox1 Jan 31, 2026
f97ee3f
include secrets.env
1FoxInTheBox1 Jan 31, 2026
ae23839
lint fixes
1FoxInTheBox1 Jan 31, 2026
cf34be4
Separate component tests (#279)
rhit-steineig Jan 31, 2026
5cef741
Fix dialog scrolling and sizing
1FoxInTheBox1 Jan 31, 2026
279ab42
Merge branch 'main' into ny/fix-mobile-dialogs
1FoxInTheBox1 Jan 31, 2026
864799f
Finally, comboboxes (#277)
FaronAan Feb 1, 2026
76be210
Merge pull request #282 from AssetAtlasTracker/maroisem/custom-field-…
maroisem Feb 2, 2026
37c43fe
Merge pull request #278 from AssetAtlasTracker/maroisem/fix-login-red…
maroisem Feb 2, 2026
9c07dc7
Fix tooltip missizing
1FoxInTheBox1 Jan 28, 2026
307a3e6
lint
1FoxInTheBox1 Jan 28, 2026
f840ba5
Merge branch 'main' into ny/hot-module-reload
1FoxInTheBox1 Feb 3, 2026
ccff8dd
only close dialog on item creation success
1FoxInTheBox1 Feb 3, 2026
440d47a
Remove duplicated logic
1FoxInTheBox1 Feb 3, 2026
b53376a
replace mobile template picker with combobox
1FoxInTheBox1 Feb 3, 2026
1fe0d25
remove duplicated logic
1FoxInTheBox1 Feb 3, 2026
786d833
lint
1FoxInTheBox1 Feb 3, 2026
a04e618
Merge pull request #286 from AssetAtlasTracker/ny/fix-mobile-dialogs
1FoxInTheBox1 Feb 3, 2026
df4c31a
Merge pull request #288 from AssetAtlasTracker/ny/close-dialog-on-suc…
1FoxInTheBox1 Feb 3, 2026
44f12d5
Fixed issue where item name wouldnt display
maroisem Feb 3, 2026
b358b41
Merge branch 'main' into maroisem/dup-and-edit-custom-fields-fix
maroisem Feb 3, 2026
f3beb01
ran lint fix
maroisem Feb 3, 2026
67ad96c
i hate linting
maroisem Feb 3, 2026
edcaa2e
Linting and favicon (#275)
FaronAan Feb 4, 2026
abb02b7
fixed error in #275 merge
rhit-steineig Feb 4, 2026
8cdd277
Merge pull request #281 from AssetAtlasTracker/ny/fix-info-tooltips-d…
1FoxInTheBox1 Feb 4, 2026
66a77ba
Merge branch 'main' into maroisem/dup-and-edit-custom-fields-fix
maroisem Feb 4, 2026
f10dfd6
Floating windows now appear in front (#287)
FaronAan Feb 4, 2026
feed526
Fixed bug
maroisem Feb 6, 2026
86980e3
Merge pull request #283 from AssetAtlasTracker/maroisem/dup-and-edit-…
maroisem Feb 6, 2026
e3ab1bd
await db connection
1FoxInTheBox1 Feb 6, 2026
441532a
Merge branch 'main' into ny/combobox-on-mobile
1FoxInTheBox1 Feb 6, 2026
567826d
Potential first fix
maroisem Feb 6, 2026
5537bf3
Merge pull request #289 from AssetAtlasTracker/ny/combobox-on-mobile
1FoxInTheBox1 Feb 6, 2026
80261b5
Actual solution
maroisem Feb 7, 2026
e41a8c4
Merge pull request #284 from AssetAtlasTracker/ny/hot-module-reload
1FoxInTheBox1 Feb 7, 2026
ac283de
Use Lucide icons instead of SVGs (#292)
rhit-steineig Feb 7, 2026
220ba6a
display error text on image load fail
1FoxInTheBox1 Feb 7, 2026
9c078a9
lint src/controllers
rhit-steineig Feb 5, 2026
f753595
lint tests
rhit-steineig Feb 5, 2026
cc58d24
lint src/lib/components
rhit-steineig Feb 6, 2026
be7cb94
lint src/lib/utility
rhit-steineig Feb 6, 2026
4cae855
lint src/routes
rhit-steineig Feb 6, 2026
8f8442e
lint top-level files
rhit-steineig Feb 6, 2026
d687659
deleted text in the wrong spot
rhit-steineig Feb 7, 2026
6f0844a
Fixing test issue
maroisem Feb 8, 2026
d172485
Merge branch 'main' into maroisem/fix-bypass-permissions-bug
rhit-steineig Feb 9, 2026
d578060
Merge pull request #300 from AssetAtlasTracker/ny/display-image-errors
1FoxInTheBox1 Feb 10, 2026
9a73729
fixed lint warnings
rhit-steineig Feb 10, 2026
089e5d1
Duplicate copies images
1FoxInTheBox1 Feb 14, 2026
ad91834
Redo of notification system, now appears above dialog and is fixed
maroisem Feb 14, 2026
476756a
CI workflow now fails on lint warnings
rhit-steineig Feb 10, 2026
1d5571b
fixed remaining lint warnings
rhit-steineig Feb 10, 2026
fe061e2
fixed typo
rhit-steineig Feb 10, 2026
3352f9b
progress updating src/lib/components to runes mode
rhit-steineig Feb 14, 2026
89656e9
Merge branch 'main' into steineig/update-to-runes
rhit-steineig Feb 14, 2026
4bf3590
Dupe+Edit copes images
1FoxInTheBox1 Feb 14, 2026
39af562
lint + other small fixes
1FoxInTheBox1 Feb 14, 2026
5a76706
Page reloads on logout
maroisem Feb 15, 2026
17fbb5b
dialog stays open when fiel chooser closed
1FoxInTheBox1 Feb 15, 2026
ea1498d
fixduplicate undefined error
1FoxInTheBox1 Feb 17, 2026
a4e48b0
Merge pull request #306 from AssetAtlasTracker/ny/duplicate-images
1FoxInTheBox1 Feb 18, 2026
44c184e
Merge branch 'main' into steineig/update-to-runes
rhit-steineig Feb 18, 2026
104bdfa
wip
1FoxInTheBox1 Feb 18, 2026
214294e
Merge pull request #307 from AssetAtlasTracker/ny/keep-dialog-on-imag…
1FoxInTheBox1 Feb 19, 2026
f1d8f7c
Merge branch 'main' into steineig/update-to-runes
rhit-steineig Feb 19, 2026
d169e1d
basic implementation
1FoxInTheBox1 Feb 19, 2026
e5bff99
finished updating components to runes mode
rhit-steineig Feb 20, 2026
7c9302a
fixed bug introduced in runes mode changes
rhit-steineig Feb 20, 2026
ab03889
fixed bug 2 introduced in runes mode changes
rhit-steineig Feb 20, 2026
06c07e7
fix lint errors
rhit-steineig Feb 20, 2026
2864f99
finished updating files to runes mode
rhit-steineig Feb 20, 2026
8f96f4d
cleanup
rhit-steineig Feb 20, 2026
c364a6e
fixed bug 3 introduced in runes mode changes
rhit-steineig Feb 20, 2026
8230736
fixed bug 4 introduced in runes mode changes
rhit-steineig Feb 20, 2026
b022c02
fixed bug 5 introduced in runes mode changes
rhit-steineig Feb 20, 2026
626d66f
working image uploads
1FoxInTheBox1 Feb 21, 2026
339179d
Merge pull request #296 from AssetAtlasTracker/maroisem/fix-bypass-pe…
maroisem Feb 22, 2026
9d39d23
Newdev onboarding v1 completed (#310)
FaronAan Feb 22, 2026
a2a4aa9
fix camera issues on firefox
1FoxInTheBox1 Feb 22, 2026
d3075e1
Refactored new toasting framework into ActionDisplay
maroisem Feb 22, 2026
d3bc6a6
fix tooltip size causing horizontal scrolling
1FoxInTheBox1 Feb 22, 2026
dfbd66a
Add comment with stack overflow link
1FoxInTheBox1 Feb 23, 2026
fe41b28
Fix: Super mega kill destroying controller folder
maroisem Mar 11, 2026
aa2caf1
Merge pull request #319 from AssetAtlasTracker/maroisem/kill-controllers
maroisem Mar 11, 2026
1985875
Merge branch 'main' into steineig/update-to-runes
rhit-steineig Mar 14, 2026
bacf8e9
Merge pull request #314 from AssetAtlasTracker/ny/improved-dev-mode
1FoxInTheBox1 Mar 15, 2026
6891ad6
Merge pull request #317 from AssetAtlasTracker/ny/fix-horizontal-scro…
1FoxInTheBox1 Mar 15, 2026
c0d572f
updated dev mode info
1FoxInTheBox1 Mar 17, 2026
1cdcb37
Merge pull request #302 from AssetAtlasTracker/maroisem/fix-error-popups
maroisem Mar 17, 2026
49a4870
fix mobile dialog scrolling
1FoxInTheBox1 Mar 17, 2026
2cac637
Merge branch 'main' into steineig/update-to-runes
rhit-steineig Mar 18, 2026
921de06
Merge pull request #313 from AssetAtlasTracker/steineig/update-to-runes
rhit-steineig Mar 18, 2026
bc986ef
create item button works on item details page
rhit-steineig Mar 16, 2026
3860d71
Apply suggestion from @rhit-steineig
1FoxInTheBox1 Mar 18, 2026
f41036e
Merge pull request #327 from AssetAtlasTracker/ny/update-dev-instruct…
1FoxInTheBox1 Mar 18, 2026
e69477e
Merge pull request #316 from AssetAtlasTracker/ny/use-camera-on-android
1FoxInTheBox1 Mar 18, 2026
ad3b816
Merge pull request #328 from AssetAtlasTracker/ny/fix-mobile-scrolling
1FoxInTheBox1 Mar 22, 2026
7e8da80
Revently Changed sort option
1FoxInTheBox1 Mar 22, 2026
bd83bec
Running containers locally shows correct version on About page (#333)
rhit-steineig Mar 23, 2026
b728dba
Remove ignored files from index. Move test tempfile ignore to its own…
budak7273 Mar 24, 2026
0a62b98
Restore gitattributes file accidentally removed in abd55a086e919accec…
budak7273 Mar 24, 2026
501ed52
Formatting:
budak7273 Mar 24, 2026
f562295
pin submit buttons on mobile
1FoxInTheBox1 Mar 24, 2026
c616502
update item tree view
1FoxInTheBox1 Mar 24, 2026
dc51da3
Reopen tree view when button pressed
1FoxInTheBox1 Mar 24, 2026
1fafea0
Merge pull request #340 from AssetAtlasTracker/ny/update-item-names-a…
1FoxInTheBox1 Mar 25, 2026
e8106ba
Merge pull request #334 from AssetAtlasTracker/ny/sort-by-recent-changed
1FoxInTheBox1 Mar 25, 2026
fb46a43
Merge pull request #335 from AssetAtlasTracker/cleanup
budak7273 Mar 25, 2026
4a84565
Item model in db can now have multiple templates
maroisem Mar 12, 2026
d0305d8
Added migration for template changes
maroisem Mar 12, 2026
1fece71
Naming change
maroisem Mar 12, 2026
2cb8e36
Made system compatible with new multiple templates
maroisem Mar 13, 2026
ce4fd64
Adding and removing multiple templates
maroisem Mar 13, 2026
ff26e5f
Fixed Tests
maroisem Mar 15, 2026
469741d
Removed bug where input box was verified for Templates
maroisem Mar 22, 2026
edd41e3
Reworked templates on EditItem Page
maroisem Mar 24, 2026
7e51890
Reworked UI for CreateItem
maroisem Mar 24, 2026
e57ee47
Various fixes
maroisem Mar 24, 2026
8ab484e
EditItem populates after creating template
maroisem Mar 26, 2026
67791e0
Works for Item Desktop
maroisem Mar 26, 2026
9c5641e
Works on mobile
maroisem Mar 26, 2026
f859429
Touchups after rebase + fixed template duplication
maroisem Mar 28, 2026
ccea9e1
Merge branch 'main' into ny/display-tree-button
1FoxInTheBox1 Mar 30, 2026
d6e9e14
Merge pull request #344 from AssetAtlasTracker/ny/display-tree-button
1FoxInTheBox1 Mar 30, 2026
d2d5978
Merge pull request #324 from AssetAtlasTracker/maroisem/items-multipl…
maroisem Mar 30, 2026
0f46c1d
Merge pull request #339 from AssetAtlasTracker/ny/pin-submit-buttons
1FoxInTheBox1 Mar 31, 2026
00ac37d
Fixing npm vulnerabilities (#343)
FaronAan Mar 31, 2026
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
46 changes: 46 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# To test that this file is actually working,
# follow the steps here to make an image with the files: https://stackoverflow.com/a/40966234
# then run a container from that image and look at its logs to see what's in there.

**/.git

**/__pycache__

/build
/node_modules
/.svelte-kit

/.github
/.vscode

/docs

# We do not currently run tests from the container. Will need to uncomment this if we do that.
/tests

LICENSE
README.md
start.py
cspell.json

**/.classpath
**/.dockerignore
**/.env
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
**/.tests
**/.jest.config.ts
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Bug report
about: Report a bug you encountered
type: bug

---

**Bug Description**
Please give a high-level overview of the bug.

**Steps To Reproduce**
List the steps you took so we can reproduce the bug. Please be specific as it is often small details that produce bugs.

**Expected Behavior**
What did you expect to happen?

**Actual Behavior**
What actually happened?

**Screenshots**
If applicable, add screenshots that show the problem.

**If the bug occurs on desktop, please complete the following information:**

- OS: (e.g. macOS, Windows)
- Browser (e.g. Chrome, Firefox, Safari)
- Version (e.g. 22)

**If the bug occurs on mobile, please complete the following information:**

- Device: (e.g. iPhone 16, Samsung S24)
- OS: (e.g. iOS 18, android 15)
- Browser (e.g. Chrome, Firefox, Safari)
- Version (e.g. 22)

**Additional Information**
If you have any other information about the problem, please add it here.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Feature request
about: Suggest an idea for this project
type: feature

---

**Feature Description**
Please give a brief overview of the desired feature

**Preferred Solution**
If you have a particular idea for a solution or one you prefer, please describe it here

**Additional Information**
If you have any other information you think might be useful, please add it here.
42 changes: 42 additions & 0 deletions .github/assetatlas/ConfiguringOauthProviders.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Configuring OAuth for Asset Atlas

One of the app’s features is the ability to have users create and login to their own accounts, which can be done with Google and Github accounts. Unfortunately this must be manually configured for every instance of Asset Atlas, but is not too difficult of a task.

The rough outline of this process is:

1. Configure OAuth logins for Google and Github
2. Create "secrets.env" in the app directory
3. Insert needed data into "secrets.env"

## 1. Configuring OAuth logins for Google and Github

OAuth is a process that allows users to login to the app using external accounts, namely Github and Google in this case. In order to have these function properly, you will need to register an app with these providers, which will let them know where the user is trying to log in to.

1) Google OAuth Registration (read fully before starting)
1) Read the [official Google documentation](https://support.google.com/cloud/answer/15549257?sjid=2068013545075202076-NC) for the actual process of creating the cloud client
2) When you are registering, you will be prompted for "Authorized redirect URIs". This will be what brings us back to the application once google has logged the user in, and you will need to provide this link. The actual link you give may differ, but it will take the form of `**(home page)**/api/oauth/callbackGoogle`. So if you are hosting the app locally at <http://localhost:3000>, the URI should be `http://localhost:3000/api/oauth/callbackGoogle`.
3) The end result of the registration process will be a client ID and a client secret. Hold onto these and save them for later, particularly the secret, as you can only look at it once.

2) Github OAuth Registration (read fully before starting)
1) Read the [official GitHub documentation](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app) for the process of registering an OAuth app with GitHub
2) When you are registering, you will be prompted for "Homepage URL". This is just the link where your main page lies. For example if locally hosted at `http://localhost:3000`, this is where the main page would lie.
3) You will also be prompted for an "Authorization callback URL". This will be the home page url \+ `/api/oauth/callbackGithub`, so `http://localhost:3000/api/oauth/callbackGithub` if following the previous example.
4) The end result of the registration process will be a client ID and a client secret. Hold onto these and save them for later, particularly the secret, as you can only look at it once.

## 2. Creating `secrets.env` in the app folder

Now that you have the data needed, you will need to have somewhere to store it so that the app can use it.

1) Navigate to the folder where you downloaded your app. This should be the same folder that holds `docker-compose-ghcr.yml`
2) Create a new file in this folder, and name it `secrets.env`

## 3. Adding data to `secrets.env`

Now that we have the file, we need to add the data to it.

1. Open `secrets.env` with a text editor
2. Visit the [docker/secrets.env.example](https://github.com/AssetAtlasTracker/AssetAtlas/blob/main/docker/secrets.env.example) on GitHub
3. Copy the example text into your file
4. Update all fields as needed with the data you got from registering the OAuth apps

Once this is complete, users should be able to login with OAuth.
6 changes: 5 additions & 1 deletion .github/assetatlas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ docker compose -f docker-compose-ghcr.yml down

# Tailscale
docker compose -f docker-compose-ghcr-tailscale.yml down
```
```

## Also

See [ConfiguringOauthProviders.md](./ConfiguringOauthProviders.md) for instructions on how to set up OAuth providers to allow users to log in and log out of their accounts
10 changes: 10 additions & 0 deletions .github/assetatlas/docker-compose-ghcr-tailscale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
volumes:
- assetatlas-config:/usr/src/app/config
- assetatlas-tsbuild-cache:/usr/src/app/.tsbuildcache
env_file: secrets.env
environment:
NODE_ENV: production
MONGO_URI: mongodb://mongo:27017/assetatlas_db
Expand All @@ -27,6 +28,15 @@ services:
networks:
- assetatlas-network

auto-migration:
image: ${DOCKER_IMAGE:-ghcr.io/assetatlastracker/assetatlas:latest}
pull_policy: always
depends_on:
- mongo
command: ["npx", "migrate-mongo", "up", "-f", "migrate-mongo-docker-config.cjs"]
environment:
MONGO_URI: mongodb://mongo:27017/assetatlas_db

tailscale:
image: tailscale/tailscale:stable
container_name: assetatlas-ts
Expand Down
11 changes: 11 additions & 0 deletions .github/assetatlas/docker-compose-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
volumes:
- assetatlas-config:/usr/src/app/config
- assetatlas-tsbuild-cache:/usr/src/app/.tsbuildcache
env_file: secrets.env
environment:
NODE_ENV: production
MONGO_URI: mongodb://mongo:27017/assetatlas_db
Expand All @@ -27,6 +28,16 @@ services:
networks:
- assetatlas-network

auto-migration:
image: ${DOCKER_IMAGE:-ghcr.io/assetatlastracker/assetatlas:latest}
pull_policy: always
depends_on:
- mongo
command: ["npx", "migrate-mongo", "up", "-f", "migrate-mongo-docker-config.cjs"]
environment:
MONGO_URI: mongodb://mongo:27017/assetatlas_db


networks:
assetatlas-network:
driver: bridge
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Publish Docker Images

on:
push:
branches:
branches:
- production
pull_request:
branches:
Expand Down Expand Up @@ -56,5 +56,7 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
APP_VERSION=${{ format('{0} ({1})', steps.meta.outputs.version, github.sha) }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
25 changes: 14 additions & 11 deletions .github/workflows/release-ghcr-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,37 @@ name: Create Release with Docker Files

on:
push:
branches:
branches:
- production
paths:
- '.github/assetatlas/**'
- '.github/workflows/release-ghcr-files.yml'
- ".github/assetatlas/**"
- ".github/workflows/release-ghcr-files.yml"
workflow_dispatch:

jobs:
create-release:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up directory structure
run: |
mkdir -p release-files
cp .github/assetatlas/README.md release-files/
cp .github/assetatlas/README.release.md release-files/README.md
cp .github/assetatlas/ConfiguringOauthProviders.md release-files/
cp .github/assetatlas/docker-compose-ghcr.yml release-files/
cp .github/assetatlas/docker-compose-ghcr-tailscale.yml release-files/

- name: Create ZIP archive
run: |
cd release-files
zip -r ../assetatlas-ghcr-files.zip .
cd ..

- name: Create/Update Release
id: create_release
uses: softprops/action-gh-release@v1
Expand All @@ -41,17 +42,19 @@ jobs:
files: |
assetatlas-ghcr-files.zip
release-files/README.md
release-files/ConfiguringOauthProviders.md
release-files/docker-compose-ghcr.yml
release-files/docker-compose-ghcr-tailscale.yml
draft: false
prerelease: false
body: |
# AssetAtlas GHCR Files

This release contains the necessary files to run AssetAtlas using Docker:

- README.md - Instructions for running the containers
- ConfiguringOauthProviders.md - Guide for setting up OAuth providers
- docker-compose-ghcr.yml - For runing locally
- docker-compose-ghcr-tailscale.yml - For running with Tailscale networking

You can download either the individual files or the complete ZIP archive.
40 changes: 28 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,47 @@
name: Run Tests and Lint
name: Run Lint and Tests with Coverage

on:
push:
branches:
- main
branches: ["main"]
pull_request:
branches:
- main
branches: ["main"]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "22.x"
cache: "npm"

- name: Install dependencies
run: rm package-lock.json && npm install

- name: Run tests
run: npm run test
run: npm ci

- name: Run lint
run: npm run lint

- name: Run tests with coverage
run: npm run coverage

- name: Upload Coverage Report
uses: actions/upload-artifact@v4
with:
name: Coverage Report
path: coverage/
if-no-files-found: error

- name: Run component tests with coverage
run: npm run coverage:comp

- name: Upload Components Coverage Report
uses: actions/upload-artifact@v4
with:
name: Components Coverage Report
path: coverage/
if-no-files-found: error
Loading
Loading