Commit Graph

162 Commits

Author SHA1 Message Date
Kim e92d5a507c Included Write keys for s3 2023-07-13 09:40:04 +02:00
ig b361959f53 Properly parametrize deploy script 2023-07-10 10:39:03 +02:00
Sina Blattmann 4b873306e3 bugfix login 2023-07-06 11:42:52 +02:00
Sina Blattmann 6628e57861 kims work 2023-07-06 11:16:00 +02:00
Kim fc3ad1806c changed name to email 2023-07-06 11:09:16 +02:00
Kim c738804b1c made password nullable in login function 2023-07-06 11:06:55 +02:00
Kim a0dc85b57b changed db to real data 2023-07-06 10:57:57 +02:00
ig 9068f183d6 Use separate S3 data fields as in S3Config (cs & ts) 2023-07-05 15:13:44 +02:00
ig 3a10e4cb20 Split S3KeySecret into S3Key and S3Secret 2023-07-05 15:10:08 +02:00
ig 25450aecee Extract ExoCmd into own file 2023-07-05 15:09:28 +02:00
ig 395d5a89b2 Change S3 keys format; add correct S3 key for SalimaxPrototype 2023-07-05 14:31:53 +02:00
ig e80cc2fbd0 remove spurious propertygroup from projects 2023-07-04 09:09:50 +02:00
atef e31c40b659 Add Rootnamespace property in project files 2023-07-03 14:59:59 +02:00
Noe f2c04e2ccc Version Bleu 2023-06-30 16:13:09 +02:00
Noe 9e9a899f8e fix merge conflict 2023-06-30 09:00:44 +02:00
Noe 7cb055bc7b styling of website 2023-06-30 08:58:50 +02:00
Sina Blattmann 531c296a15 Merge branch 'main' of https://git.innov.energy/Innovenergy/git_trunk 2023-06-29 08:41:03 +02:00
Sina Blattmann 4ee1709386 [WIP] fix graph bugs 2023-06-29 08:40:28 +02:00
ig 7f97ab8e14 make use of "required" with "init" (.net 7) 2023-06-27 13:14:17 +02:00
Sina Blattmann b256e9bd75 add db 2023-06-26 11:34:17 +02:00
Ivo Graber 4736657375 Delete Sqlite Db from backend
suspecting it to be the cause of a git error (too big)
2023-06-13 11:52:13 +00:00
Kim fa9d06192d added Grafana 2023-05-11 10:20:47 +02:00
Kim d1fb0a8ac2 added VrmGrabber to replicate VRM installations in memory (to run run the server.py file with flask run) FLASK_APP=server.py 2023-05-04 13:59:47 +02:00
Sina Blattmann 6fc414a2c0 Merge branch 'main' of https://git.innov.energy/Innovenergy/git_trunk 2023-04-24 09:36:18 +02:00
Sina Blattmann 39b414d0f0 add datacache (ivos code), first working version with diagrams, only sample data 2023-04-24 09:35:01 +02:00
Kim f5515c110a changed signed urls for keysecret pairs in installations 2023-04-20 15:30:11 +02:00
Kim 5682d2893f Todo check different return methods and choose one @ig 2023-04-13 16:24:00 +02:00
Kim b8fc04a90c Testing new error messages in Backend, fixing small bugs, possibly breaking BMSTunnel, fixed tests 2023-04-13 14:30:01 +02:00
Sina Blattmann e84c10607f add Graphs, simple version 2023-04-13 11:40:57 +02:00
Kim 171d290e36 python gui fixed for reference 2023-04-06 14:28:35 +02:00
Kim 184fc8c10e Implemented mailer for new users, creation fails on invalid email address 2023-04-06 10:36:42 +02:00
Kim b6fbeb48b5 fixing bug in updating user 2023-04-06 08:32:47 +02:00
Kim 1021bb852a fixed bug in creating user and returning parents of installations/folders 2023-04-06 08:05:05 +02:00
ig 005da7fbcb Subscribe Cleanup on TaskPoolScheduler, should make Backend startup faster 2023-04-04 10:39:42 +02:00
ig 79ccad37c5 Move Controller to src root 2023-04-04 10:24:37 +02:00
Kim b290ded0a9 Fill Order Numbers everywhere where installations are given back 2023-03-30 09:28:44 +02:00
Kim e1305126ee Shifted sanitizing outputs into Controller.cs
Now Hiding Parents
2023-03-30 09:27:18 +02:00
Kim 50036daa78 typo 2023-03-23 15:46:19 +01:00
Kim c2d10b63d2 rewrote getchildusers 2023-03-23 15:45:40 +01:00
Kim 55628e2186 updating installations with new order numbers automatically updates the ordernumber2installation relation table 2023-03-23 14:58:59 +01:00
Kim b07991e75d added Ordernumber to installation relation and automatically filled installation order relations on get calls 2023-03-23 14:23:03 +01:00
Kim 7c385bc51c added smtpconfig class and put smtp config data into resources json file 2023-03-23 13:37:35 +01:00
Kim 432189f461 simplify s3 keys from json 2023-03-23 13:28:55 +01:00
Kim cc234cad97 added foldernames to inherited folder calls 2023-03-23 12:53:14 +01:00
Kim 7d4309f3af Added deletedFolders/installations/users for archive purposes, login is now possible without pw if no pw is set and you need to reset your pw, user hased pws should no longer be given out by the backend, moving folders and installations now have their own calls, loading s3 keys from disk on use 2023-03-23 12:47:25 +01:00
Kim 656b671962 split users with direct and inherited access to folders call 2023-03-23 08:27:29 +01:00
Kim c751cb8e8f added method to get all child users, split get user with access to installation to direct and inherited 2023-03-23 08:23:36 +01:00
ig abcec0ae10 remove HeaderFilter.cs, no longer needed 2023-03-21 11:56:34 +01:00
ig 381df5f38d fix handling of relative roots 2023-03-21 11:49:17 +01:00
ig 9098ac81b5 prevent rider from automatically opening swagger on each launch 2023-03-21 11:46:38 +01:00
ig 8d7f0cd8bf Use users name instead of email for login (https://softwareengineering.stackexchange.com/a/30087) 2023-03-21 11:45:50 +01:00
ig 1b5baf90ae Fix bug where properties were missing in json of installations and folders (were serialized as TreeNodes) 2023-03-21 11:42:49 +01:00
ig e25de16f65 Run CleanUp on TaskPool 2023-03-21 11:40:23 +01:00
ig 28a0ef5530 put back cors, apparently it's still necessary, sigh 2023-03-20 15:17:52 +01:00
ig e70ab41bc0 backslashes are the worstest 2023-03-20 13:28:52 +01:00
ig 3613199917 tentatively remove cors (we don't need it) 2023-03-20 10:31:24 +01:00
ig 5ef49de742 simplify WebApplication builder 2023-03-20 10:20:56 +01:00
ig e025b8cd11 Make Controller less magic. 2023-03-20 08:33:44 +01:00
ig 9454fbf878 Use InstallationAccess/FolderAccess as arguments to GrantUserAccessTo* RevokeUserAccessTo* 2023-03-19 17:53:00 +01:00
ig 0541918beb RevokeAccessTo => RevokeUserAccessTo, BucketPrefix => S3Prefix 2023-03-19 17:02:18 +01:00
ig ed7c65be2c group S3 related functions into S3 namespace 2023-03-19 16:09:45 +01:00
ig 44e183a9f1 Fix AccessibleFolders 2023-03-17 09:11:26 +01:00
Kim 4a19ebd49c various small comments 2023-03-16 16:53:36 +01:00
Kim 91a1c47328 various small comments 2023-03-16 16:52:20 +01:00
Kim df65b48c8f creating new folders and installations now gives you access to the new folder/installation 2023-03-16 16:45:25 +01:00
Kim 4eac790eaa exchanged api keys for ones with specific restricted permissions 2023-03-16 16:34:52 +01:00
Kim 6366cb5569 fixed deleting buckets method 2023-03-16 16:22:18 +01:00
Kim 774291c1c9 Merge remote-tracking branch 'origin/main' 2023-03-16 16:13:10 +01:00
Kim 20c70b10ac added s3 bucket creation on installation creation 2023-03-16 16:13:04 +01:00
ig e136767b12 Add tree traversal functions. Skip self in Folder/User descendants 2023-03-16 14:13:45 +01:00
Kim fb4a407a52 added calls for granting and revoking permissions 2023-03-16 13:33:51 +01:00
Kim b1c6aeb9ab made python s3cmd the standart across all os 2023-03-16 12:49:54 +01:00
Kim 083c412177 added python variant of s3cmd 2023-03-16 12:49:25 +01:00
Kim 0f7daea8ea renamed user2folder and user2installation, reimplemented getbyId 2023-03-16 11:16:23 +01:00
Kim 787b02f97e fixed merge error 2023-03-16 10:34:47 +01:00
Kim e4dd24c1b0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	csharp/App/Backend/DataTypes/Methods/User.cs
#	csharp/App/Backend/Database/Db.cs
2023-03-16 10:33:23 +01:00
Kim a2836b1900 rewrote the bucket url generator, now creates new urls every 12 hours 2023-03-16 10:31:24 +01:00
ig 4c87fcb5ea implement GrantUserAccessTo for folders and installations 2023-03-16 09:33:54 +01:00
ig 2cb3701fae rename User2Folder to FolderAccess, rename User2Installation to InstallationAccess 2023-03-16 09:25:36 +01:00
ig 7cf27a78bc remove S3 signature building stuff 2023-03-16 09:19:23 +01:00
ig 405308d7d6 make Ancestors exclude self 2023-03-16 09:18:39 +01:00
ig 96018a5867 add Create User2Installation and User2Folder to Db 2023-03-16 09:15:59 +01:00
Kim d6248ead09 [WIP] quick fix for login 2023-03-16 08:51:22 +01:00
ig f9cb419da0 store session under "Session" header 2023-03-16 08:49:01 +01:00
ig 4c37c92f73 improve backend 2023-03-15 14:39:54 +01:00
ig d974a7f176 Move tables to main DB class, convert entity related function to extensions 2023-03-13 11:48:04 +01:00
ig 5a082c22e8 Make DB class static 2023-03-13 11:36:50 +01:00
Kim 55e0ad22a3 giving back user language on login 2023-03-09 17:21:31 +01:00
Kim 2703dd1e11 adds newly created inst and folders to accessible 2023-03-09 16:37:36 +01:00
Kim 2fdd920572 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	csharp/App/Backend/Database/Db.cs
#	csharp/App/Backend/Database/User.cs
2023-03-09 16:34:19 +01:00
Kim 09a8eee138 seperated create from update 2023-03-09 16:33:14 +01:00
ig d885fa94c6 Remove Result class; 2023-03-09 16:32:11 +01:00
Kim fd10522786 Added daily deletion of Installation s3 keys 2023-03-09 13:20:37 +01:00
Kim f1394e4755 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	csharp/App/Backend/Database/User.cs
#	csharp/App/Backend/Model/User.cs
2023-03-09 12:52:47 +01:00
Kim d04ebffc76 added installation specific s3 keys 2023-03-09 12:50:21 +01:00
ig 8935353e38 Introduce Ancestors, GetParent 2023-03-09 11:12:56 +01:00
ig 99ef91b7be Use safe defaults for User (fail early) 2023-03-09 11:01:48 +01:00
ig ba79b2d16f Tentatively create struct DbConnection, not used yet. 2023-03-09 10:58:55 +01:00
ig 27b24b44a0 Rewrite IsParentOfChild even shorter :P 2023-03-09 10:58:08 +01:00
Kim 7295e6482b changes to s3 bucket keys generation 2023-03-09 10:54:56 +01:00