Commit Graph

132 Commits

Author SHA1 Message Date
eece49a2e3 Backend: Make API Response consistent.
Ensure API Response for nrccMessages.message always an array ([])

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 00:36:03 +00:00
d8e37f1b6d Frontend: Add base alert box.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 23:42:22 +00:00
302b749834 Frontend/Deployment work.
Deployment now serves minified GZipped files.

Frontend now has a responsive station title size.

Need to: Change to an nginx container version that supports Brotli - I am after all the speed!

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 16:53:18 +00:00
efb202577e Notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 01:19:45 +00:00
94063af0e4 Move static files to proxy container
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 00:40:36 +00:00
fa1597855c Frontend: Add platform change
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 21:38:35 +00:00
c221639c89 Frontend: Improve code tidyness
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 21:37:01 +00:00
393c59c1d7 Frontend: Implement display of train data
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 13:09:15 +00:00
04e66c3317 Add output table to board
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 11:02:29 +00:00
cbd71efb45 Fix JS Structure
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 01:25:01 +00:00
827e77dc8a Fixes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 13:56:17 +00:00
3a93e29e51 Frontend: QLS Settings under test
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 13:54:10 +00:00
f77d262808 Optimise image loading
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 00:57:53 +00:00
400953548f Add settings page
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 00:42:21 +00:00
04e097eb35 Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 11:51:36 +00:00
2bcf147ebd Fix labels
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 11:40:38 +00:00
e4bdb1cc01 Add page conent to issue.html
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 10:32:36 +00:00
21c17be5ad Adjust styling for find-code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 10:10:06 +00:00
5bb467c8fc Increase API Cache time
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 09:30:48 +00:00
a178a0b66b FRONTEND: Add code-find to menu and fix frontend version no.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 21:22:32 +00:00
4463e8c8f1 FRONTEND: Implement find-code API Calls
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 21:20:08 +00:00
2147d2f106 API: Implement /api/v1/find
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:54:36 +00:00
4c6d66c5d9 Correct API endpoint
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:10:04 +00:00
908ded08a7 Frontend: Add API Call for find-code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:09:00 +00:00
eb828896d0 Frontend: Add code-lookup page
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:00:18 +00:00
0d18fd6c26 Update error message display
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 00:17:28 +00:00
40b517224e Proxy Container:
- Extend cache times for root and lists
 - Extend cache times for /api/ while testing

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-14 12:12:07 +00:00
5e293d902b Frontend: Improve format of no scheduled trains msg.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-14 12:06:35 +00:00
dea8221054 Change Dockerfile order to improve cache hits
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-14 11:48:37 +00:00
f3f514b80d Frontend: Add support for 'No Scheduled Services'
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-14 11:45:41 +00:00
9434d7e3a8 Work on NRCC Notices
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-12 22:15:38 +00:00
dbb9903fee Fix window.location properties to match protocol.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-12 20:55:22 +00:00
14c3ffd115 Updated nginx container -- needs rebuild 2023-01-12 20:12:32 +00:00
6abd0966a3 Update CODIUM workspace settings
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-12 14:46:34 +00:00
4d7a227851 Completed maintenance tasks. 2023-01-12 14:44:07 +00:00
3439c2ea26 Implement notices 2023-01-11 23:18:00 +00:00
de834106b8 Implement the index form 2023-01-11 21:48:52 +00:00
997c5542be Update dependancies 2023-01-11 21:09:13 +00:00
68576d8869 Fix ldb lookup and add sanitization 2023-01-11 21:03:04 +00:00
2d3abdc84c Frontend: Implement time parsing 2023-01-11 15:00:12 +00:00
d8d2799145 Adjust comments and notes 2023-01-11 13:59:22 +00:00
dc4c50efc6 Update proxy cache time for list API 2023-01-11 13:35:55 +00:00
dac9adf666 list.services now queries DB 2023-01-11 13:34:24 +00:00
bc23a976f9 dbInit now working in any database state 2023-01-11 13:12:10 +00:00
0317dc723a Add check before dropping collection 2023-01-11 10:21:27 +00:00
1c269571b7 Expand drop collection code... needs more work 2023-01-10 21:04:49 +00:00
538325cada Adjust DB Features logging methods 2023-01-10 20:54:19 +00:00
77c5ef2cf5 Refactor docker/k8s features and builds 2023-01-09 23:26:28 +00:00
150a43139f Organize dockerfiles 2023-01-09 15:48:56 +00:00
7592fd8a0c Tidy comments 2023-01-09 15:06:13 +00:00