Commit graph

190 commits

Author SHA1 Message Date
Chen-I Lim
519cfacaf2 Add X-Requested-With to server test 2021-02-03 10:42:06 -08:00
Chen-I Lim
d655ca3af6 Add X-Requested-With header check for CSRF 2021-02-03 10:16:37 -08:00
Chen-I Lim
37987a2a61 getSharing requires session 2021-02-03 10:12:27 -08:00
Chen-I Lim
79b79b35bc Auth readToken in websocket 2021-02-02 18:21:37 -08:00
Chen-I Lim
26f73135bc Version 0.5.0 2021-02-02 14:34:10 -08:00
Chen-I Lim
c2894693ea websocket: send not authenticated error 2021-02-02 13:17:34 -08:00
Chen-I Lim
a56cf03e0c websocket private functions 2021-02-02 13:00:22 -08:00
Chen-I Lim
58c967bf53 Cleanup 2021-02-02 12:57:36 -08:00
Chen-I Lim
5db1d00d64 Refactor app auth 2021-02-02 12:11:21 -08:00
Chen-I Lim
b3e660d354 Websocket auth 2021-02-02 12:06:28 -08:00
Chen-I Lim
12d24a5aed Check user not found for updateUser 2021-02-01 10:49:57 -08:00
Chen-I Lim
c0f71f870e Rename admin local socket 2021-02-01 10:31:06 -08:00
Jesús Espino
52c38ff7c2 Add sharing unit tests 2021-01-29 20:27:43 +01:00
Jesús Espino
68561f0f6b Add more block store tests 2021-01-29 19:32:33 +01:00
Jesús Espino
7ee3213641 Improving blocks tests 2021-01-29 19:21:55 +01:00
Jesús Espino
baad055cc9 Moving tests outside the sqlstore to allow future no-sql implementations 2021-01-29 17:50:20 +01:00
Chen-I Lim
b72f5ced7d Rename focalboard-server binary 2021-01-28 14:23:52 -08:00
Jesús Espino
8eb1559898 Fixing update session store call 2021-01-27 19:24:19 +01:00
Chen-I Lim
3b4f712649 active user count 2021-01-27 10:01:24 -08:00
Chen-I Lim
d641039131 Registered user count 2021-01-27 09:22:33 -08:00
Chen-I Lim
b4e52b4073 localOnly config flag 2021-01-26 15:29:13 -08:00
Chen-I Lim
3995cbd0e4 Product name 2021-01-26 14:13:46 -08:00
Chen-I Lim
41308ebbb2 Rename admin-scripts folder 2021-01-25 11:22:15 -08:00
Chen-I Lim
22e3e03c39 Check local conn for admin APIs 2021-01-22 14:14:12 -08:00
Chen-I Lim
6af0780c17 Merge branch 'main' into admin-local 2021-01-22 11:28:45 -08:00
Chen-I Lim
dfbc07c06d make generate 2021-01-21 10:25:35 -08:00
Chen-I Lim
1286349a22 Change password 2021-01-21 10:16:40 -08:00
Chen-I Lim
159023b540 Example reset-password.sh script 2021-01-20 14:22:23 -08:00
Chen-I Lim
e15728d003 make generate 2021-01-20 13:52:54 -08:00
Chen-I Lim
91f51fe0b9 Local server on unix port, admin set password 2021-01-20 13:52:25 -08:00
Chen-I Lim
f7769bb14e Use modifiedBy for comment author 2021-01-20 09:47:08 -08:00
Chen-I Lim
b22d34057e Stamp edition and build number 2021-01-19 14:10:14 -08:00
Chen-I Lim
8b2d993675 Fix server test error check 2021-01-18 12:59:32 -08:00
Chen-I Lim
56eda6bbdf Telemetry 2021-01-18 12:27:13 -08:00
Chen-I Lim
0450a03971 Fix register error handling, and client json parsing 2021-01-14 10:58:16 -08:00
Chen-I Lim
c0f8f1288f Cleanup api errorResponse 2021-01-14 10:03:01 -08:00
Chen-I Lim
ed2ff2d6b0 make generate 2021-01-13 17:09:43 -08:00
Chen-I Lim
7915564d2c Require signup token to register 2021-01-13 16:56:01 -08:00
Chen-I Lim
36b5bec65f make generate 2021-01-13 13:01:34 -08:00
Chen-I Lim
413a6e33c7 cleanup 2021-01-13 12:15:38 -08:00
Chen-I Lim
b8bfc7fce3 Pass read_token to getSubTree 2021-01-13 09:40:37 -08:00
Chen-I Lim
61fb38d418 Allow GetSubTree without auth. WIP 2021-01-12 18:49:08 -08:00
Chen-I Lim
2dab4f56fd OctoClient Sharing APIs 2021-01-12 16:52:25 -08:00
Chen-I Lim
1048c009c3 Sharing integration tests 2021-01-12 16:44:50 -08:00
Chen-I Lim
2f71295275 Get/set sharing 2021-01-12 15:35:30 -08:00
Chen-I Lim
7052a022b3 Store modifiedBy for deleted blocks 2021-01-12 11:16:25 -08:00
Chen-I Lim
7f3547dc02 Check for empty session token or userID 2021-01-12 10:53:48 -08:00
Chen-I Lim
f2e8bc8285 Store blocks modified_by userID 2021-01-11 18:53:08 -08:00
Jesús Espino
20a223a091 Fixing tests 2021-01-11 15:33:34 +01:00
Jesús Espino
daae244cba Merge remote-tracking branch 'origin/main' into auth 2021-01-11 13:56:26 +01:00
Chen-I Lim
14ab03cb97 Poll server in Go unit tests 2021-01-06 12:55:14 -08:00
Chen-I Lim
c1a73f88b3 Log error in Server API 2021-01-05 19:50:24 -08:00
Chen-I Lim
593e077fb9 Fix Go integration tests 2021-01-05 19:47:18 -08:00
Chen-I Lim
77de551fdd Clear visible and hidden columns (options) when changing groupBy 2021-01-04 14:26:18 -08:00
Chen-I Lim
b47ae9197f Change project tasks icon 2021-01-04 10:43:02 -08:00
Chen-I Lim
1c719d3a16 Update duplicate to handle card contentOrder 2020-12-18 14:28:54 -08:00
Chen-I Lim
0bd645df4e Filter orphaned nodes on export 2020-12-14 11:24:38 -08:00
Chen-I Lim
0b1370ab35 Cleanup meeting notes template 2020-12-11 12:40:48 -08:00
Chen-I Lim
b8851c89e0 Meeting notes template 2020-12-11 12:13:47 -08:00
Chen-I Lim
578cdc7caa Personal Goals template 2020-12-11 11:45:08 -08:00
Chen-I Lim
6d1782256c Menu text consistent sentence casing 2020-12-11 11:10:25 -08:00
Chen-I Lim
0900546b68 Load default templates on server initialization 2020-12-10 12:41:06 -08:00
Chen-I Lim
6f40b80d6e Filter out orphaned blocks on export 2020-12-10 12:39:09 -08:00
Jesús Espino
e5941d6440 More work on auth 2020-12-07 20:40:16 +01:00
Jesús Espino
e08f9a9c96 Improving sessions handling 2020-12-07 17:04:35 +01:00
Jesús Espino
bbddba2d2b Addressing review concerns 2020-12-07 16:00:13 +01:00
Jesús Espino
c8ac701587 Merge remote-tracking branch 'origin/main' into auth 2020-12-04 16:04:28 +01:00
Jesús Espino
f491241c1a Preliminary auth implementation 2020-12-04 16:03:09 +01:00
Jesús Espino
99cefc5356 More work on auth 2020-12-04 11:28:35 +01:00
Chen-I Lim
850f60e1fb Add rootId to blocks. Requires archive export / re-import. 2020-12-03 14:09:48 -08:00
Jesús Espino
7382f9c55c Adding sessions code 2020-12-02 21:12:14 +01:00
Jesús Espino
dc5fb0cfc1 Merge branch 'main' into auth 2020-12-02 15:53:38 +01:00
Jesús Espino
cc065ef869 Adding another error handling to the migrations 2020-11-19 17:51:39 +01:00
Jesús Espino
ea81d04937 Adding migration files for users tables 2020-11-17 19:44:13 +01:00
Jesús Espino
11d336fef0 Merge remote-tracking branch 'origin/main' into auth 2020-11-17 15:44:04 +01:00
Jesús Espino
a1008fee1c Working on auth 2020-11-17 15:43:56 +01:00
Chen-I Lim
257a74954d Unit tests for store.getSubTree 2020-11-12 10:48:08 -08:00
Chen-I Lim
37fd30413b Duplicate board 2020-11-12 10:16:59 -08:00
Chen-I Lim
48e4cfd102 Minor: log.Printf 2020-11-09 12:53:25 -08:00
Jesús Espino
921de750dd
Merge pull request #23 from mgdelacroix/add-client
Add API client, integration tests structure and server lifecycle changes
2020-11-09 18:26:46 +01:00
Miguel de la Cruz
27ba0cc6c5 Remove unused router from the web.Server struct 2020-11-09 18:23:41 +01:00
Miguel de la Cruz
1111bd337a Add API client, integration tests structure and server lifecycle changes 2020-11-09 13:23:15 +01:00
Chen-I Lim
4a7bf165c4 cleanup 2020-11-06 10:20:03 -08:00
Chen-I Lim
0d0bc7a672 Incremental updates on websocket 2020-11-06 10:11:01 -08:00
Jesús Espino
35ebd44d24 More work on authentication 2020-11-06 16:46:35 +01:00
Jesús Espino
85c8a5a966 Merge branch 'main' into auth 2020-11-06 15:24:50 +01:00
Chen-I Lim
4ed2e02fef Make webhook calls async 2020-11-02 09:07:05 -08:00
Jesús Espino
0d177980ea Moving webhook service into the right place 2020-10-30 19:33:25 +01:00
Chen-I Lim
526125cba7 Rename WebhookClient 2020-10-29 13:42:43 -07:00
Chen-I Lim
923ac19769 webhook cleanup 2020-10-29 13:32:51 -07:00
Chen-I Lim
5e8789cb14 Basic webhook on block update 2020-10-29 13:12:48 -07:00
Jesús Espino
0568006a27 Auth WIP 2020-10-28 14:35:41 +01:00
Chen-I Lim
972b621d12 Notify changes to root blocks (empty parentID) 2020-10-26 10:54:37 -07:00
Chen-I Lim
c1fe8c3c0d Fix db migration error check 2020-10-22 08:41:47 -07: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
Chen-I Lim
0b07f454bb WebSocket listener: Handle add/remove blockIds 2020-10-21 12:36:43 -07:00
Jesús Espino
d179c9f704 Reorganizing app layer and adding a test using mocks 2020-10-21 11:32:13 +02:00
Jesús Espino
fe39696e26 Adding mock store and pin the generators/tools to specific versions 2020-10-21 09:56:03 +02:00
Jesús Espino
6f82a8a095 Adding squirrel query builder 2020-10-20 20:00:46 +02:00