42 Commits

Author SHA1 Message Date
maleksandrov
44acdb7057 Initial permissions support on backend/frontend 2021-04-20 10:53:53 +03:00
maleksandrov
b8160e2743 Fully fixed the introduced issue with my last commit 2021-04-13 01:00:43 +03:00
maleksandrov
9ea6345711 Fixes an issue introduced by renaming a db column 2021-04-13 00:10:08 +03:00
maleksandrov
87ccd37881 Fix tests and default value for new app link 2021-04-12 16:32:15 +03:00
maleksandrov
60e8144e09 changed link_tab column to string, refactored code to use strings instead of integers 2021-04-12 12:35:10 +03:00
maleksandrov
a7db5827a6 Changed db schema to acommodate for opening ling in same/different tab 2021-04-11 17:59:13 +03:00
Alex Phillips
18d34dab26 cookie handling is now server-side so we can set the domain properly, added in forward auth support for traefik - still needs to have the redirect handled client-side upon successful login 2021-01-20 19:23:47 -05:00
Kode
0e8f8fe882 Try to merge ATCwells changes 2021-01-21 12:33:54 +00:00
Eric Nemchik
f3516e9f13 printWidth and htmlWhitespaceSensitivity 2020-05-16 15:11:02 -05:00
Eric Nemchik
e4077894ff Add code formatting dev dependencies and pre-commit hooks 2020-05-04 14:34:13 -05:00
alex-phillips
07d1298f43 item configs are now handled via JSON 2020-03-03 08:38:27 -05:00
alex-phillips
22e3421e72 user settings now always JSON encoded 2020-03-02 11:00:08 -05:00
alex-phillips
a8dc8fd3b6 users and items now have n:m relationship 2020-03-02 10:53:05 -05:00
alex-phillips
4a0c0b3ac6 settings value is now TEXT 2020-03-02 10:42:37 -05:00
alex-phillips
aeeaecea60 Remove item-user relationship since we are refactoring this 2020-02-28 16:24:27 -05:00
alex-phillips
f7302f30f8 check to make sure tags aren't 'undefined' before json parsing it 2020-02-28 09:57:32 -05:00
alex-phillips
591005ab4b Fixed eslint logic notice 2020-02-28 09:47:06 -05:00
alex-phillips
6792b8d59f just JSON encode / decode everything to be safe 2020-02-28 09:42:19 -05:00
alex-phillips
6d2200431c fixed error in calling data setter 2020-02-28 09:35:33 -05:00
alex-phillips
55d8869d42 settings can be a standalone value or a data structure. try and detect and set / get accordingly 2020-02-28 09:23:21 -05:00
alex-phillips
bc87599c72 simplified tags get / set since we aren't using multipart here anymore, we can guarantee a data structure 2020-02-28 09:22:15 -05:00
alex-phillips
8ba3d90473 removed irrelevant comment 2020-02-27 21:50:59 -05:00
alex-phillips
896c477680 added system flag to items 2020-02-27 21:45:05 -05:00
alex-phillips
884d0d714b fixed infinite loop 2020-02-26 07:57:32 -05:00
alex-phillips
ce947ed76e tags should now be supported again - now stored as a comma-delimited list and returned as an array to the frontend 2020-02-25 21:14:54 -05:00
Kode
4f00a2b834 work on item automation 2020-02-25 11:27:29 +00:00
Kode
2c9518d7a7 return whether user has set a password 2020-02-24 12:52:22 +00:00
alex-phillips
11b900e6d8 added totp secret and multifactor flag to the user model 2020-02-19 12:46:59 -05:00
alex-phillips
1596c8d674 Added dotenv package to have all variables in .env file, config is now centralized 2020-02-18 10:18:45 -05:00
alex-phillips
47c825150b added tags to item model, added getter and setter so we can work with tags as a data structure 2020-02-17 16:09:10 -05:00
alex-phillips
052a2e62de removed tags - adding this just as a column to user 2020-02-16 17:20:28 -05:00
alex-phillips
35c4cc5b7e added applicationType and config to items, changed 'pinned' to 'active' 2020-02-16 12:26:19 -05:00
alex-phillips
44f6f75d03 added global settings 2020-02-16 11:47:34 -05:00
alex-phillips
71d038fe7b added user level column, limit level altering to admins only 2020-02-16 11:36:17 -05:00
alex-phillips
665a2bd50b initial commit of tags and associations with users / items 2020-02-16 10:47:57 -05:00
alex-phillips
33452ea04b initial add of item routes 2020-02-15 15:13:43 -05:00
alex-phillips
e91de5dfed initial add of items, only use underscores for db columns, not actual object properties 2020-02-15 15:07:57 -05:00
alex-phillips
2111cb2193 added settings column to users (not doing additional migrations just yet since it's still early development) 2020-02-15 11:18:40 -05:00
alex-phillips
074629028d user 'toJSON' method to remove sensitive data (i.e., password) 2020-02-15 09:14:50 -05:00
alex-phillips
ad9726cba9 eslinting fixes, initial commit of express server with JWT auth, middleware for attaching user to request object, and cors implemented 2020-02-14 12:05:42 -05:00
alex-phillips
7bee88e383 initial commit of user code, added in test framework and user test 2020-02-14 10:02:18 -05:00
alex-phillips
cdf79a3bf8 initial commit 2020-02-13 08:50:29 -05:00