Commit Graph

51 Commits

Author SHA1 Message Date
Chen-I Lim
ae552e260c
Update to v0.10 (#1633) 2021-10-22 13:59:05 -07:00
Chen-I Lim
33e717d9bc Update version to v0.9.1 2021-09-17 12:56:47 -07:00
Jesús Espino
6ad11e072b
Not importing compass-icons on plugin mode (#1184)
* Not importing compass-icons on plugin mode

* Moving compass icon to an npm dependency
2021-09-10 22:31:53 +02:00
Jesús Espino
55e506bd0e
Add stylelint to the CI (#1078)
* Add stylelint to the CI

* remove duplicated line

* remove more duplicated lines

* Adding extra rule to avoid duplicated properties
2021-08-26 11:25:25 +02:00
Jesús Espino
1914b5a921
Making theming compatible with mattermost on plugin mode (#883)
* Making theming compatible with mattermost on plugin mode

* Fixing some variables

* Adding isFocalboardPlugin function

* Fixing some styles

* Improving styles for boards icon in the global switcher
2021-08-06 19:58:28 +02:00
Chen-I Lim
7d2a58081c Update version to v0.9.0 2021-08-06 10:37:28 -07:00
Jesús Espino
be28b7dad5
Migrate webapp global state to redux (#737)
* Migrating workspace tree to redux

* More changes for use the redux store for boads and views

* Taking into account the templates on websocket event updates

* Fixing bug on boardTree maintenance

* Websocket client now connects once and subscribe/desubscribe on the fly

* Including usage of the new websocket client

* More work around migrating to redux

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Fixing some things

* WIP

* WIP

* Another small fix

* Restoring filtering, sorting and grouping

* Fixing some other bugs

* Add search text reducer

* Fixing another drag and drop problem

* Improve store names and api

* Fixing small bgus

* Some small fixes

* fixing login

* Fixing register page

* Some other improvements

* Removing unneeded old files

* Removing the need of userCache

* Fixing comments and fixing content ordering

* Fixing sort

* Fixing some TODOs

* Fixing tests

* Fixing snapshot

* Fixing cypress tests

* Fix eslint

* Fixing server tests

* Updating the add cards actions

* Fixing some tiny navigation problems

* Mocking the api calls to pass the tests

* Migrating a new test to redux

* Adding the card right after the insert of the block (not wait for ws event)

* Showing the ws disconnect banner only after 5 seconds of disconnection

* Fixing share view

* Fix eslint

* Fixing problem with sort/groupby modifications

* Fixing some details on redirections and templates creation

* Fixing small bugs around undo

* Fix update properties on click outside the dialog

* Improving the column resize look and feel

* Removing the class based objects from the store (now they are all plain objects

* Fix eslint

* Fixing tests

* Removing unneeded code
2021-08-02 17:46:00 +02:00
Chen-I Lim
73225e959b Merge release-0.8.0 2021-07-16 10:30:45 -07:00
kamre
b2346fcacf
Use cross-env instead of win-node-env (#656)
* File `package-lock.json` updated.

* Use `cross-env` for setting environment variables in npm scripts.

* Remove all the mentions of `win-node-env` because it is no longer needed for running npm scripts.

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-07-15 19:30:22 -07:00
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
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
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
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
1f03ab7b43
Update package-lock.json
Fix bad merge.
2021-05-29 03:00:13 -04: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
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
2c28746978
npm audit fix (#405) 2021-05-13 16:17:07 -06:00
Chen-I Lim
5fe51a9c0c Update for v0.6.7 2021-05-10 12:22:42 -07:00
Jesús Espino
94ee5eb844 Replace injectIntl with useIntl on functional components 2021-05-10 15:15:52 +02: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
Harshil Sharma
7900dbf88f
Added Todoist import script (#285) 2021-04-22 15:55:46 -07: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
Jesús Espino
bb7e41ff35 Updating vulnerable dependency 2021-03-31 10:21:17 +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
d2faeb2847 npm audit fix 2021-03-10 09:20:26 -08:00
Chen-I Lim
a7f88c1103 Update to marked 2.0.0 2021-02-11 13:09:46 -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
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
d3a4ea0c02 Add Cypress tests 2020-12-10 13:45:56 -08:00
Chen-I Lim
662441f29c Unit tests: OctoClient and CardTree 2020-12-07 14:50:22 -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