Commit Graph

61 Commits

Author SHA1 Message Date
wqy 133feef4d2 Script for tj_project template 2022-09-03 14:51:13 +08:00
wqy 2b23d52ed3 Can not add schema for index... 2022-09-03 14:50:51 +08:00
wqy 7d2cc5c1fe Put all table & enum into namespace(postgres schema) 'tj' 2022-09-03 14:38:49 +08:00
wqy 19b690b665 Start database api work 2022-09-03 14:04:44 +08:00
wqy 45bb0483ce Refine demo 2022-09-03 11:12:54 +08:00
wqy 8fe2eebe03 Get api 2022-09-03 11:08:05 +08:00
wqy c3dcf70a04 Reuse s0 defined enum 2022-09-03 10:38:15 +08:00
wqy f16a16991e Update comment 2022-09-03 10:33:27 +08:00
wqy 0832e557fe Update comment 2022-09-03 10:27:51 +08:00
wqy a44977974d Add transaction demo 2022-09-03 10:19:08 +08:00
wqy 8430b02785 Expose transaction api 2022-09-03 09:52:36 +08:00
wqy bf188494f5 Enhance transaction 2022-09-03 09:52:08 +08:00
wqy 5f3db14067 More snapshot api 2022-09-03 09:37:31 +08:00
wqy 555cab3627 Support transaction to commit or rollback, this will modify operation tree 2022-09-03 09:30:57 +08:00
wqy dc07e4811c Drop if exists 2022-09-03 09:30:19 +08:00
wqy e68c1776c4 Code refactor 2022-09-03 08:31:17 +08:00
wqy eaefc61a87 Support to copy project 2022-09-03 08:28:13 +08:00
wqy bdb08c6798 Support random check out different snapshot 2022-09-03 08:23:28 +08:00
wqy efc33a7a86 Support more operation in database 2022-09-03 08:22:32 +08:00
wqy b5a8051c61 Fix operation tree bug 2022-09-03 08:21:43 +08:00
wqy 122f3ebddc Format api file 2022-09-03 01:13:31 +08:00
wqy cb429ad822 Add demo for new api 2022-09-03 01:07:27 +08:00
wqy 0eb42567d2 Format package 2022-09-03 01:07:04 +08:00
wqy 12e61b7b9c Refine tjnetwork_new and add junction api 2022-09-03 00:43:09 +08:00
wqy e79f887542 Refine __init__.py 2022-09-03 00:35:37 +08:00
wqy 1a23664028 Support junctions api 2022-09-03 00:35:02 +08:00
wqy cce5f55a24 Title need undo redo 2022-09-03 00:34:25 +08:00
wqy 9b2b54e9ab Base is readonly 2022-09-03 00:33:58 +08:00
wqy 2955dc94d7 Remove some tests 2022-09-03 00:33:31 +08:00
wqy 3eb7aa5a46 No undo redo for project api 2022-09-03 00:32:30 +08:00
wqy 069e49430e Enhance table junctions and coordinates 2022-09-03 00:31:46 +08:00
wqy 99bcdde8ca Clean __init__.py 2022-09-02 20:31:02 +08:00
wqy 013d037b0a Use __init__.py to manage api module 2022-09-02 20:29:22 +08:00
wqy 99958a24ca Update admin script => template 2022-09-02 20:28:37 +08:00
wqy 71c454c8cf Multiple operation into a api 2022-09-02 20:28:03 +08:00
wqy 49bea820b8 Add api to query type 2022-09-02 19:01:59 +08:00
wqy d90f7d6f8e Add new api in terms of database rather than epanet/memory 2022-09-02 18:38:11 +08:00
wqy bed5741558 Fix module in terms of python style 2022-09-02 18:33:33 +08:00
wqy 4474f12d2c Implement operation tree in database 2022-09-02 18:32:22 +08:00
wqy 248f56cbea Always has title 2022-09-02 18:30:46 +08:00
wqy a7294bf6a3 Update operation tree 2022-09-02 18:30:23 +08:00
wqy b8eed02366 Start to implement database transaction tree 2022-09-01 23:32:14 +08:00
wqy 1fa8a4ac2a Get base 2022-09-01 22:56:19 +08:00
wqy 1c5d0984bf Get title 2022-09-01 22:38:01 +08:00
wqy 5e2b5acd9a Add section [TITLE] 2022-09-01 22:20:38 +08:00
wqy c42d705232 Add base test 2022-09-01 22:06:22 +08:00
wqy a177edbfcb Add base api 2022-09-01 22:03:09 +08:00
wqy 5ac03bb9bf Refine script 2022-09-01 22:01:10 +08:00
wqy 96c5857653 Add script to install psycopg 2022-08-27 12:08:42 +08:00
wqy d7922351c0 Restore startserver.bat 2022-08-27 11:58:37 +08:00