Commit Graph

54 Commits

Author SHA1 Message Date
f9a6a46799 Remove redundant comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 14:05:46 +01:00
c8e19414d1 Fix registration functions
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 14:05:04 +01:00
c4b1816c30 Adjust registration email template
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 13:59:35 +01:00
9e52faa1bb Adjust mail.send function
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 12:40:58 +01:00
f512f7db3f Refactoring mail code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 11:27:01 +01:00
7d0b9f9d44 Add comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 01:09:50 +01:00
dd96e95ce5 Add better error codes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 01:08:14 +01:00
1064db3d2f Add authentication middleware
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 00:58:48 +01:00
b69e34e2b5 More comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 22:22:05 +01:00
e982e3ad10 Remove fjla.uk from valid domains
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 22:20:59 +01:00
fd454029dc Fix module.exports order
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 22:20:09 +01:00
bea1b68a9d npm update
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 22:19:45 +01:00
f5d46a38d7 Added comments for further development
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 22:15:51 +01:00
330e8e02a0 Add request and register functions
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 22:12:38 +01:00
14e0a93d86 Add initial registration functions
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 21:28:46 +01:00
25640c2e78 Bump major versions due to dbmanager incompat
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 21:28:34 +01:00
e8a069f788 Fix incorrect links in email templates
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 20:35:12 +01:00
c2212adf62 Adjust email tempates
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 20:34:36 +01:00
79d3ff2d9c Finalise register mail templates 2023-04-04 17:17:12 +01:00
fceee0b4ea Create 'sendTest' function for mail service 2023-04-04 14:41:14 +01:00
f03f02ede9 Continued email testing 2023-04-04 11:45:32 +01:00
184b7e50c3 Bump version and add dev tag 2023-04-04 11:03:22 +01:00
769946f818 Fix nodemailer 'require' name 2023-04-01 15:11:26 +01:00
062efd940f Beef out mail.services 2023-04-01 15:09:29 +01:00
81d3838588 Tidy app.js code 2023-04-01 14:44:06 +01:00
bd57449819 Add to mail.services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-01 11:06:30 +01:00
28d72b128e Install nodemailer, update NPM packages, update mail template
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-01 10:42:20 +01:00
fe9eeae7db Add testing for mail features
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-31 21:14:29 +01:00
95d735205a Add api versions to stats api
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-30 21:18:07 +01:00
07dc5f6d8f Bump patch version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-30 21:16:46 +01:00
c00be2aeda Add log levels to services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-30 21:15:21 +01:00
45b049714f Add level to logs in app.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-30 21:10:39 +01:00
ea50577946 Add level to UTILS logs
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-30 21:08:16 +01:00
132a8697b1 Update logging utility
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-16 20:50:08 +00:00
47447088a2 Add log level (optionally) to log.utils 2023-03-16 20:22:18 +00:00
76c40dbbae Bump patch ver
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-13 20:10:58 +00:00
7e823fb8be Adjust version presentation
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-13 20:10:45 +00:00
e0420db03c Fix for dbmanager version fetch
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-13 19:55:19 +00:00
04d598f984 Add dbmanVer to stats API
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-13 19:39:10 +00:00
cb2f3aa2ea Fix incorrect version increment 2023-03-13 14:15:44 +00:00
303610097e Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-10 22:19:21 +00:00
461b3cde77 Add NODE_ENV and version reporting to stats API
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-10 22:18:56 +00:00
bb61180ab8 Add logging of response if Gitea API Call fails
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-02 20:56:47 +00:00
4cb052b244 Merge pull request 'dev-api_attributes' (#2) from dev-api_attributes into main
Reviewed-on: #2
2023-02-21 11:06:54 +00:00
48843203b0 Remove Comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-21 11:01:52 +00:00
d10d558715 - Remove Static, Remove DbInit, Adjust awaits, increment version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-16 21:25:19 +00:00
b1940bcfbb Removed unneccesary vars and added notes for tidyup
in preparation for testing additional info

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-16 10:39:19 +00:00
2326a97d35 Bump version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-13 21:04:26 +00:00
b2b81e869b Bring static in line with web
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-12 21:53:15 +00:00
8fac608b44 Bring static inline with web
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-12 21:44:45 +00:00