Chen-I Lim
1801422543
Fixes for workspace support ( #321 )
2021-04-26 13:43:02 +02:00
Jesús Espino
2d261fde59
Adding mysql support to the database ( #301 )
...
* Adding mysql support
* Fixing other test cases
* Tests passing on mysql
* Fix the row number generation
* Adding blocks_history table
* merging the migrations in one single set of files
* Passing mysql tests
* Fixing default encoding on mysql
* Simplifying things
* Removing from the blocks table all deleted blocks
* Better indentation
* Moving db types to constants to make it less error prone
* reducing duplicated code
* Removing log line
* Now sql tests are running properly in mysql, sqlite and postgres
2021-04-22 22:53:01 +02:00
Jesús Espino
83375684af
Adding tablePrefix support
2021-04-17 09:09:34 +02:00
Chen-I Lim
3531c8307d
Global template support
2021-03-30 14:04:00 -07:00
Chen-I Lim
68f2b5bedb
Fix delimiter for postgres
2021-03-26 13:55:14 -07:00
Chen-I Lim
725971784b
Workspace backend support
2021-03-26 11:01:54 -07:00
Bo-Yi Wu
2b4e03eed6
chore(format): update coding style
2021-03-21 16:28:26 +08:00
Chen-I Lim
af7f666eff
Return JSON empty array when not found, and handle null arrays
2021-03-08 16:08:17 -08:00
Chen-I Lim
3995cbd0e4
Product name
2021-01-26 14:13:46 -08:00
Chen-I Lim
61fb38d418
Allow GetSubTree without auth. WIP
2021-01-12 18:49:08 -08:00
Chen-I Lim
7052a022b3
Store modifiedBy for deleted blocks
2021-01-12 11:16:25 -08:00
Chen-I Lim
f2e8bc8285
Store blocks modified_by userID
2021-01-11 18:53:08 -08:00
Chen-I Lim
850f60e1fb
Add rootId to blocks. Requires archive export / re-import.
2020-12-03 14:09:48 -08:00
Chen-I Lim
37fd30413b
Duplicate board
2020-11-12 10:16:59 -08:00
Jesús Espino
72f4783e34
Some other code improvements from the golangci
2020-10-22 15:22:36 +02:00
Jesús Espino
607b8aa063
Some improvements based on golangci-lint checks, and adding more rules
2020-10-22 13:34:42 +02:00
Jesús Espino
6f82a8a095
Adding squirrel query builder
2020-10-20 20:00:46 +02:00
Jesús Espino
3c15957e3d
Adding golang migrate to handle database migrations
2020-10-16 22:26:47 +02:00
Jesús Espino
55e49bea51
Abstracting more the store concept
2020-10-16 19:20:43 +02:00