Commit Graph

101 Commits

Author SHA1 Message Date
Jesús Espino
d6f760b06b
Sample using @reduxjs/toolkit (#646)
* Sample using @reduxjs/toolkit

* Some improvements related to typescript in the store

* Adding some extra data to the redux store

* Moving the workspace users into redux store

* Wrapping the language into the redux store

* Fix some wrong names

* Fixing typos

* Removing unused imports

* Removing unnecesary users context

* Fixing eslint error

* Fixing memory leak on tests

* Always using the redux store for workspace users

* Fix eslint

* Addressing PR review comments

* Fixing cypress tests

* Fixing cypress tests (second try)

* Fixing cypress tests (third try)
2021-07-14 21:22:40 +02:00
Chen-I Lim
1b45e16e52 Update to v0.8.0 2021-07-09 09:36:57 -07:00
Jesús Espino
c004c7c86d Migrating some icons to Compass icons 2021-06-18 18:08:15 +02:00
Scott Bishel
967e6e8078
Table unit tests (#554)
* update to useIntl()

* update to useIntl()

* implement unit tests for ./components/table/*

* fix lint

* update for useIntl()

* remove comments
2021-06-18 08:52:36 -06:00
Harshil Sharma
0fa9028931
Marked selected language and theme (#536)
* Addded visual indication for selected theme

* Marked selected language and theme

* Removed obsolete snapshot

* Avoided importing complete lodash package

* Used useIntl() infavi=our of receiving language in prop
2021-06-07 13:25:25 +02: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
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
Harshil Sharma
fe6b0d04b3
Fixed Docker build breaking due to webpack-image=loader (#486) 2021-05-27 14:33:28 +02:00
Harshil Sharma
3bf9d9382e
Clickable Links (#393)
* Added implementation for making links clickable

* Improved some clicking UX

* Removed unused stuff

* Fixed lint issues

* Added Compass Icons to Focalboard

* Updaed go.mod

* Made sure links in URL property are always assumed as absolute

* Removed unnecessary JSX code block

* Allowing only http and https protocols

* Removed unused extensions from file loader

* Icon and URL imporvements

* Added React component for Compass Icons.
* Allowed URLs with any arbitrary protocol.
2021-05-26 16:14:09 +05:30
Harshil Sharma
e5a915dddf
Using Node v16.0.1 in CI (#459)
* Using Node v16.0.1 in CI

* Mocked fetch in the test

* Using global response

* Added fetch mocker

* #GH-458 specified Node version in build scripts
2021-05-25 15:26:20 +05:30
Miguel de la Cruz
6bb987a233
Add moment as a direct dependency (#445) 2021-05-20 14:58:19 +02:00
Chen-I Lim
5fe51a9c0c Update for v0.6.7 2021-05-10 12:22:42 -07:00
Johannes Marbach
0f0d9f3bd8
[GH-38] Add date property (#391)
* [GH-38] Add date property

Closes: #38

* Add date menu item in snapshot to fix tests

* Add react-day-picker in NOTICE.txt
2021-05-10 07:46:07 +02:00
Stefan Huber
1ed9c6b291
Add prettier at least for css (#327)
This reverts commit c95ab685e4 and adds code fixes to scss files

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-04-28 16:28:52 +02:00
Chen-I Lim
e61ba4a7a8 Update to v0.6.6 2021-04-21 12:56:14 -07:00
Chen-I Lim
bc5787ff3a Update version to v0.6.5 2021-04-13 11:04:22 -07:00
Jesús Espino
962f216426 Fixing drag and drop for touchable devices 2021-04-08 10:40:57 +02:00
Jesús Espino
13dbecc823 Migrating all drag and drop into react-dnd 2021-04-07 19:35:25 +02:00
Jesús Espino
1f67811784 Simplifiying shortcuts using Hotkeys library 2021-04-01 08:57:58 +02:00
Chen-I Lim
c47333948e Rev to v0.6.2 2021-03-31 11:59:07 -07:00
Jesús Espino
53a6331a05 Fixing translation extraction 2021-03-30 21:35:48 +02:00
Jesús Espino
6f451aef3d Re-adding babel eslint plugin 2021-03-26 11:51:01 +01:00
Jesús Espino
8845683b09 Upgrading javascript dependencies 2021-03-25 19:41:00 +01:00
Jesús Espino
c60e9a2550 Removing insecure library 2021-03-25 18:47:02 +01:00
Chen-I Lim
a34c9a7128 Fix #136: Update the displayed version 2021-03-19 09:59:46 -07:00
Renjith
8b499f9035 Add unit test for propertyMenu.tsx - basic setup 2021-03-19 07:41:11 -05:00
Chen-I Lim
eaf8321f52 Update to v0.6.0 2021-03-08 09:36:14 -08:00
Chen-I Lim
a7f88c1103 Update to marked 2.0.0 2021-02-11 13:09:46 -08:00
Chen-I Lim
0082fd0dd3 Move single-user-token to environment var 2021-02-11 10:13:17 -08:00
Chen-I Lim
1a006f47a0 Cypress: single user token 2021-02-09 16:34:54 -08:00
Chen-I Lim
26f73135bc Version 0.5.0 2021-02-02 14:34:10 -08:00
Chen-I Lim
b44673321c npm update jest 2021-01-29 21:16:02 -08:00
Chen-I Lim
6749b39f27 package app name 2021-01-29 20:32:32 -08:00
Chen-I Lim
b72f5ced7d Rename focalboard-server binary 2021-01-28 14:23:52 -08:00
Jesús Espino
41ce3fdb91 Adding singleuser to the ci tests 2021-01-11 16:57:29 +01:00
Chen-I Lim
71caf4b24d npm audit fix 2021-01-06 18:08:16 -08:00
Chen-I Lim
6bb89d6c09 Make Cypress optional 2021-01-06 16:09:36 -08:00
Chen-I Lim
ed2f4358dc Restore Cypress color logging 2020-12-10 14:31:20 -08:00
Chen-I Lim
89fd8a5d54 Disable Cypress color output 2020-12-10 14:23:45 -08:00
Chen-I Lim
4756a6a26d Default Cypress to use Electron 2020-12-10 14:16:42 -08:00
Chen-I Lim
bc4fee49b7 Fix jest tsconfig 2020-12-10 14:08:51 -08:00
Chen-I Lim
d3a4ea0c02 Add Cypress tests 2020-12-10 13:45:56 -08:00
Chen-I Lim
45afa34c72 Unit tests: Refactor FetchMock 2020-12-07 15:40:32 -08:00
Chen-I Lim
662441f29c Unit tests: OctoClient and CardTree 2020-12-07 14:50:22 -08:00
Chen-I Lim
6b29902810 Jest: code coverage reporting 2020-12-01 11:31:20 -08:00
Jesús Espino
4543f32435 Adding value selector/creator widget 2020-10-30 15:22:11 +01:00
Jesús Espino
2d3fd049ed Migrating flash messages into a component 2020-10-28 17:56:35 +01:00
Jesús Espino
ec93778293 Adding emoji picker 2020-10-28 10:45:15 +01:00
Jesús Espino
4be57d72b5 A bit more translations and start using intl component 2020-10-24 10:08:22 +02:00
Jesús Espino
48e4d8b569 Addining initial 18n support 2020-10-23 13:40:39 +02:00
Chen-I Lim
70f9eff13b Move package.json and webpack to under webapp 2020-10-20 11:48:08 -07:00