canon

Reusable React environment and components for creating visualization engines.

GPL-3.0 License

Downloads
1.4K
Stars
27
Committers
19
canon - v0.11.6

Published by davelandry almost 7 years ago

  • updates d3plus-react to v0.2.18 (03829a5)
  • fixes reset Toast messages (closes #46) (a2914b8)
  • fixes cookie timeout (closes #38) (15572b5)
canon - v0.11.5

Published by davelandry about 7 years ago

  • adds promise catches to all user sequelize behaviors (b290042)
  • removes username and email validation from db model (d40e33d)
canon - v0.11.4

Published by davelandry about 7 years ago

  • updates even more dependencies (8247d42)
  • updates file-loader to v1.1.5 (dfdcd93)
  • updates minor project dependencies (e9bde88)
  • updates @blueprintjs/core to v1.31.0 (816bc29)
  • adds Privacy Policy and Terms of Service support to SignUp component (4372d73)
  • adds support for jpg, jpeg, gif, bmp, tif, and tiff file types to webpack (closes #45) (6ce5c00)
canon - v0.11.3

Published by davelandry about 7 years ago

  • updates d3plus-react to v0.2.17 (fixes bar charts) (b2e5381)
canon - v0.11.2

Published by davelandry about 7 years ago

  • updates @blueprintjs/core to v1.30.0 (087f0c5)
  • updates d3plus dependencies (5a9dd6b)
canon - v0.11.1

Published by davelandry about 7 years ago

  • fixes new user sign-up flow, which wasn't setting a default role value (#44) (eeff4f9)
canon - v0.11.0

Published by davelandry about 7 years ago

  • refactors README documentation (9a959bb)
  • allows custom redirect for Login, Signup, and social (closes #36) (7c56ac8)
  • rolls pg back to v6.4.2 (2400186)
  • implements user roles and a UserAdmin component (820be20)
  • adds example structure for separate mixins file (9b94e82)
  • [breaking] refactors global DEV and SERVER variables (#40) (12c7ad2)
  • [breaking] adds passing props for SubNav sections and moves title/shortTitle to props (closes #37) (38fbed1)
  • [breaking] Section slugs must now be manually defined as static props (#37) (4589d8b)
  • adds e-mail account verification and password reset e-mails (a76f1a7)
  • cleans up internal auth actions and reducer (7dbb001)

Upgrading users Table

If your site uses datawheel-canon user auth and logins, you will need to run the following command in order to utilize the new features of v0.11.0:

ALTER TABLE users 
ADD COLUMN "activated" BOOLEAN NOT NULL DEFAULT FALSE,
ADD COLUMN "activateToken" VARCHAR,
ADD COLUMN "activateTokenExpiry" TIMESTAMPTZ,
ADD COLUMN "resetToken" VARCHAR,
ADD COLUMN "resetTokenExpiry" TIMESTAMPTZ,
ADD COLUMN "role" SMALLINT NOT NULL DEFAULT 0;

A Note regarding React v16

At this time, datawheel-canon cannot be updated to anything higher than React v15 because Blueprint (a core component to a lot of our projects) breaks when updating. They have said that they are building React v16 into Blueprint v2, which should release sometime before the end of this year: https://github.com/palantir/blueprint/issues/866

canon - v0.10.4

Published by davelandry about 7 years ago

  • imports from yaml files now return a JS object (e3398eb)
canon - v0.10.3

Published by davelandry about 7 years ago

  • updates minor build dependencies (46489ff)
  • updates d3plus dependencies (94a7df9)
canon - v0.10.2

Published by davelandry about 7 years ago

  • adds html property for RTL languages (d3plus/d3plus-shape#62) (b544d28)
canon - v0.10.1

Published by davelandry about 7 years ago

  • bakes in default English translations for account components (closes #35) (5372849)
  • updates build dependencies (55e8a57)
  • updates d3plus dependencies (9bdd1d6)
canon - v0.10.0

Published by davelandry about 7 years ago

  • only rebuilds server-side for specific app files (closes #32) (e9986a1)
  • updates build dependencies (faster builds!) (b63d83a)
  • updates d3plus dependencies (5143e5f)
  • updates normalize.css to v7.0.0 (d766d5b)
  • updates dev environment dependencies (cfbf6fd)
  • updates @blueprintjs/core to v1.27.0 (e83308e)
  • fixes bug where CANON_LANGUAGES was required (closes #30) (27d76b0)
canon - v0.9.7

Published by davelandry about 7 years ago

  • fixes Translated section names in SubNav (closes #29) (0f6c545)
  • adds success/failure messages from Login and SignUp to localization as toasts (df69a6b)
canon - v0.9.6

Published by davelandry about 7 years ago

  • fixes localization key for "Login" button (0305be4)
canon - v0.9.5

Published by davelandry about 7 years ago

  • adds Login and SignUp text to localization (closes #25) (8258731)
  • locales script now checks all JSX files in project (8311415)
  • preloads all languages into server-side localization (#20) (fa796b8)
  • fixes file-loader peer dependency (b31be4f)
canon - v0.9.4

Published by davelandry about 7 years ago

  • fixes problem with new i18n namespacing (4e814b9)
  • adds .envrc to gitignore (1bf721e)
  • adds caveat to README regarding social login deployment with supervisor (501526d)
canon - v0.9.3

Published by davelandry about 7 years ago

  • fixes release compiling (83cbe60)
canon - v0.9.2

Published by davelandry about 7 years ago

  • namespaces cookie based on package.json name (6a9d078)
  • [breaking] namespaces locale based on package.json name (49a1ee9) - run npm run locales again and copy/paste any old contents of canon.json into those new files
  • fixes social image pathing (76acbfb)
canon - v0.9.1

Published by davelandry about 7 years ago

  • adds CANON_LOGLOCALE env var and fixes client-side env (#14 #20 closes #21) (77220dd)
  • themes social login buttons (ebb842d)
  • adds shortTitle support for SubNav sections (003afcf)
  • changes social button text to "Sign Up" in SignUp component (37bbaa0)
  • catches bug in SubNav when no sections are defined in a topic (e838aed)
canon - v0.9.0

Published by davelandry about 7 years ago

  • adds additional properties to the server generated location (closes #15) (f1e4e96)
  • adds "locale" query parameter support in addition to "lang" and "language" (bbe6508)
  • lanaguage detection not supports query params "lang" and "language" (58d1014)
  • [breaking] removes API redux store key in favor of new env object (closes #11) (a301006)
  • silences noisy template components (7b01776)
  • adds rudimentary location detection to store for server-side rendering (closes #15) (787fb87)
  • adds social login envs to table in docs (6d15c69)
  • documents Instagram social login setup (c3f0a80)
  • documents Twitter social login setup (533c713)
  • documents Facebook social login setup (42a5a90)