Commit 66b3b5c
235 save annotations (#240)
* passing through the projectID
* some tests
* support page
* path in Page class generator
* no label is fine for Pages
* updating layers
* AI generated tests
* Update API.md
* oh auth.
* how'd we miss this?
* Create lineRouter with new paths
remove line library and add methods to class
* getLine
* really loading lines
* line modification
* test barf
* aw thucks!
* Hi, I'm new here.
* old tests
* adjust for tests
* default exports for tests
* wrangling AI tests
Jest mock is a nightmare.
* old tests
* adjust for tests
* default exports for tests
* wrangling AI tests
Jest mock is a nightmare.
* just skip to move on
* Update Layer.js
* Update index.js
* merged mess unwrap
* dummy
* Update Project.js
* handle labels throughout
* unerring
* update layer organized
* return changes
* avoid hard crash
* prevent crash on a page 404
* full id
After I PUT a new label (this was successful) the "id" on the layer the db obj does not the the prefix and is just the hash.
* you get it
* vaildate all singular changes
* greedier try-catch
* Squashed commit of the following:
commit 44b75cf
Author: Priyal Patel <52342511+mepripri@users.noreply.github.com>
Date: Wed May 7 10:13:21 2025 -0500
Localhost URLS Validating (#242)
* Update index.js
* Update index.js
* Update validateURL.js
---------
Co-authored-by: Patrick Cuba <cubap@slu.edu>
commit 032ef45
Merge: f977234 52edaab
Author: cubap <cubap@slu.edu>
Date: Mon May 5 10:40:24 2025 -0500
Merge branch 'development' into import-tpen28
commit 52edaab
Author: Priyal Patel <52342511+mepripri@users.noreply.github.com>
Date: Fri May 2 09:36:27 2025 -0500
Getting User Projects (#237)
* Update index.mjs
* Update index.mjs
* Update index.mjs
* Update index.mjs
* Update index.mjs
* Using UID to get User Projects
* Update index.mjs
* Origin Fetch
* SetHeader Origin
* Update index.js
* Update index.js
* Update index.js
commit f977234
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 13:14:16 2025 -0500
Update index.js
commit dde7c30
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 13:05:02 2025 -0500
SetHeader Origin
commit d2ec198
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 12:47:32 2025 -0500
Origin Fetch
commit 83fac3a
Merge: 6e79a8d 2e5bbbd
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 09:31:12 2025 -0500
Merge branch 'development' into import-tpen28
commit 2e5bbbd
Merge: 443d0a2 9f102fb
Author: Patrick Cuba <cubap@slu.edu>
Date: Wed Apr 30 22:38:43 2025 -0500
Merge branch 'development' of https://github.com/CenterForDigitalHumanities/TPEN-services into development
commit 443d0a2
Author: cubap <cubap@slu.edu>
Date: Wed Apr 30 15:23:02 2025 -0500
no label is fine for Pages
commit 6e79a8d
Merge: ac0182f 9f102fb
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Wed Apr 30 12:06:38 2025 -0500
Merge branch 'development' into import-tpen28
commit ac0182f
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Wed Apr 30 11:51:40 2025 -0500
Update index.mjs
commit 673a5c5
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Tue Apr 29 17:22:08 2025 -0500
Using UID to get User Projects
commit afe664e
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Mon Apr 28 10:16:27 2025 -0500
Update index.mjs
commit 6bf9c9a
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 14:56:11 2025 -0500
Update index.mjs
commit 0906084
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 14:50:54 2025 -0500
Update index.mjs
commit 5dd077e
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 14:33:53 2025 -0500
Update index.mjs
commit e9971bc
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 12:18:30 2025 -0500
Update index.mjs
* Squashed commit of the following:
commit 44b75cf
Author: Priyal Patel <52342511+mepripri@users.noreply.github.com>
Date: Wed May 7 10:13:21 2025 -0500
Localhost URLS Validating (#242)
* Update index.js
* Update index.js
* Update validateURL.js
---------
Co-authored-by: Patrick Cuba <cubap@slu.edu>
commit 032ef45
Merge: f977234 52edaab
Author: cubap <cubap@slu.edu>
Date: Mon May 5 10:40:24 2025 -0500
Merge branch 'development' into import-tpen28
commit 52edaab
Author: Priyal Patel <52342511+mepripri@users.noreply.github.com>
Date: Fri May 2 09:36:27 2025 -0500
Getting User Projects (#237)
* Update index.mjs
* Update index.mjs
* Update index.mjs
* Update index.mjs
* Update index.mjs
* Using UID to get User Projects
* Update index.mjs
* Origin Fetch
* SetHeader Origin
* Update index.js
* Update index.js
* Update index.js
commit f977234
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 13:14:16 2025 -0500
Update index.js
commit dde7c30
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 13:05:02 2025 -0500
SetHeader Origin
commit d2ec198
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 12:47:32 2025 -0500
Origin Fetch
commit 83fac3a
Merge: 6e79a8d 2e5bbbd
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Thu May 1 09:31:12 2025 -0500
Merge branch 'development' into import-tpen28
commit 2e5bbbd
Merge: 443d0a2 9f102fb
Author: Patrick Cuba <cubap@slu.edu>
Date: Wed Apr 30 22:38:43 2025 -0500
Merge branch 'development' of https://github.com/CenterForDigitalHumanities/TPEN-services into development
commit 443d0a2
Author: cubap <cubap@slu.edu>
Date: Wed Apr 30 15:23:02 2025 -0500
no label is fine for Pages
commit 6e79a8d
Merge: ac0182f 9f102fb
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Wed Apr 30 12:06:38 2025 -0500
Merge branch 'development' into import-tpen28
commit ac0182f
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Wed Apr 30 11:51:40 2025 -0500
Update index.mjs
commit 673a5c5
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Tue Apr 29 17:22:08 2025 -0500
Using UID to get User Projects
commit afe664e
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Mon Apr 28 10:16:27 2025 -0500
Update index.mjs
commit 6bf9c9a
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 14:56:11 2025 -0500
Update index.mjs
commit 0906084
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 14:50:54 2025 -0500
Update index.mjs
commit 5dd077e
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 14:33:53 2025 -0500
Update index.mjs
commit e9971bc
Author: Priyal Patel <mepripri0712@gmail.com>
Date: Fri Apr 25 12:18:30 2025 -0500
Update index.mjs
* 422 if no pages are there.
* Update index.js
* Update index.js
* Update index.js
* since I'm here...
moved some functions into their own space
* teehee
* Make it so.
* fixed GET /line/:id
* page isn't a page?
* undata
* more details in data objects
* Update Line.js
* load it for updates
* put overwrite in for updating pages
* unlog
* changing route format for compile trouble
* no test
* No. This is wrong and fills me with hate.
* quick code comment
* patches for PATCHes
---------
Co-authored-by: Bryan Haberberger <bryan.j.haberberger@slu.edu>1 parent 20305c0 commit 66b3b5c
14 files changed
Lines changed: 408 additions & 321 deletions
File tree
- classes
- Layer
- Line
- __tests__
- Page
- database
- line
- __tests__
- page
- utilities
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | | - | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | | - | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
52 | 64 | | |
53 | | - | |
| 65 | + | |
| 66 | + | |
54 | 67 | | |
55 | | - | |
56 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
57 | 71 | | |
58 | 72 | | |
59 | 73 | | |
| |||
65 | 79 | | |
66 | 80 | | |
67 | 81 | | |
68 | | - | |
69 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
70 | 85 | | |
71 | 86 | | |
72 | 87 | | |
73 | 88 | | |
74 | 89 | | |
75 | 90 | | |
76 | 91 | | |
77 | | - | |
78 | | - | |
| 92 | + | |
79 | 93 | | |
80 | 94 | | |
81 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
121 | 134 | | |
122 | 135 | | |
123 | 136 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments