Doug Lauder
5c69113911
Auditing ( #542 )
...
* audit wip
* finish API coverage
* fix unit test
* remove sample logging and audit config
* default logger
* fix go.mod and go.sum
2021-06-11 14:24:51 +02:00
Doug Lauder
46243c1ad1
Telemetry and metrics ( #496 )
...
- total blocks by block type
- total workspaces
- blocks activity (insert/delete)
- login success / fail
2021-06-04 10:38:49 -04:00
Harshil Sharma
90f6389745
Person Property Type ( #406 )
...
* Added getWorkspaceUsers API
* Integrated workspace user API in UI
* Integrated workspace user API in UI
* Added toto for implementation slot
* Implemenmted getWorkspaceUSers to get data from Focalboard DB
* Updated store mocks
* Made select styles a shared constant
* Removed unwanted diffs
* Removed unwanted diffs
* Updated snapshots for new property type
* Added user store test
* Added missing copyright notice
* Returning error if no users found to retain original behavior
* Minor fixes and added tests
* Minor fixes
* Used React context for workspace users
* Used useContext hook, and added additional user ID -> user context to avoid that computation by all componnets
* Mergerd both workspace user contextx
* Minor review fix
2021-06-04 18:53:15 +05:30
Matheus Mosca
ac320ece25
Add units tests for app/sharing.go ( #454 )
...
* tests: add units tests for GetSharing
* tests: add unit tests for UpsertSharing
* refactor: add test helper in sharing unit tests
* cleanup
2021-06-03 14:59:16 -05:00
Doug Lauder
417de9f837
Logger for FocalBoard server ( #466 )
...
- structured, asynchronous logging
- supports discreet log levels, including custom levels
- supports output to console, files, and all common log aggregators.
- supports JSON, plain text and GELF formats
- lazy formatting and writing
2021-05-29 02:23:10 -04:00
Scott Bishel
6cb7e49a2b
add unit tests ( #422 )
...
* add unit tests
* cleanup
* cleanup
* rename helper file, remove gomock.eq()
* update import
2021-05-26 12:38:43 +02:00
Jesús Espino
f1b8d88d6b
Changing mattermost-auth method to work based on shared database access ( #335 )
...
* Improving mattermost auth implementation
* Making mattermost-auth based on shared database access
* Reverting unneeded changes in the config.json file
* Fixing tiny problems
* Removing the need of using the mattermost session token
* Fixing some bugs and allowing to not-bind the server to any port
* Small fix to correctly get the templates
* Adding the mattermost-plugin code inside focalboard repo
* Adding a not working code part of the cluster websocket communication
* Updating the mattermost version
* Adding the cluster messages for the websockets
* Updating to the new node version
* Making it compatible with S3
* Addressing some tiny problems
* Fixing server tests
* Adds support for MySQL migrations and initialization
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2021-05-24 19:06:11 +02:00
Hossein
e2dd9a978a
Add Export/import board ( #403 )
...
* Resolve GH-261
* fix eslint
* Address comments
* update mocks
* add test
2021-05-13 15:04:49 -06:00
Chen-I Lim
41ccd7651c
Fixup for old file path
2021-03-31 15:30:25 -07:00
Chen-I Lim
3531c8307d
Global template support
2021-03-30 14:04:00 -07:00
Chen-I Lim
8901bb964c
filepath.Join
2021-03-30 10:06:11 -07:00
Chen-I Lim
9ff340c989
Store files per workspace and root block
2021-03-29 16:27:35 -07:00
Chen-I Lim
0b479ff3ae
Handle workspace in websocket
2021-03-26 18:04:23 -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
02e436c902
Store fileId for image blocks instead of url
2021-02-23 11:42:28 -08:00
Chen-I Lim
656d1c7851
single user token in server tests
2021-02-09 16:07:41 -08:00
Chen-I Lim
79b79b35bc
Auth readToken in websocket
2021-02-02 18:21:37 -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
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
3995cbd0e4
Product name
2021-01-26 14:13:46 -08:00
Chen-I Lim
6af0780c17
Merge branch 'main' into admin-local
2021-01-22 11:28:45 -08:00
Chen-I Lim
1286349a22
Change password
2021-01-21 10:16:40 -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
0450a03971
Fix register error handling, and client json parsing
2021-01-14 10:58:16 -08:00
Chen-I Lim
7915564d2c
Require signup token to register
2021-01-13 16:56:01 -08:00
Chen-I Lim
61fb38d418
Allow GetSubTree without auth. WIP
2021-01-12 18:49:08 -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
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
f491241c1a
Preliminary auth implementation
2020-12-04 16:03:09 +01:00
Jesús Espino
7382f9c55c
Adding sessions code
2020-12-02 21:12:14 +01:00
Jesús Espino
11d336fef0
Merge remote-tracking branch 'origin/main' into auth
2020-11-17 15:44:04 +01:00
Chen-I Lim
37fd30413b
Duplicate board
2020-11-12 10:16:59 -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
1111bd337a
Add API client, integration tests structure and server lifecycle changes
2020-11-09 13:23:15 +01: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
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
Chen-I Lim
972b621d12
Notify changes to root blocks (empty parentID)
2020-10-26 10:54:37 -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
Jesús Espino
d179c9f704
Reorganizing app layer and adding a test using mocks
2020-10-21 11:32:13 +02:00
Jesús Espino
4f0351a8ab
Using FilesStore service from mattermost-server code directly
2020-10-16 20:16:52 +02:00
Jesús Espino
55e49bea51
Abstracting more the store concept
2020-10-16 19:20:43 +02:00
Jesús Espino
19ab85b329
Splitting the server in multiple packages
2020-10-16 19:12:53 +02:00