Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase #1

Merged
merged 408 commits into from
Feb 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
408 commits
Select commit Hold shift + click to select a range
cc3748a
Merge branch 'master' into greenkeeper-updtr-1.0.0
export-mike Aug 16, 2017
e6af8f6
merge in master
export-mike Aug 16, 2017
e336647
Merge pull request #4170 from keystonejs/greenkeeper-updtr-1.0.0
JedWatson Aug 17, 2017
898a8bf
Merge pull request #4311 from keystonejs/greenkeeper-debug-2.6.8
export-mike Aug 18, 2017
3748de5
Merge pull request #4216 from keystonejs/greenkeeper-enzyme-2.8.2
export-mike Aug 18, 2017
319fcb1
Merge pull request #4328 from keystonejs/greenkeeper-mocha-3.4.2
export-mike Aug 18, 2017
3442247
Merge pull request #4303 from keystonejs/greenkeeper-express-4.15.3
export-mike Aug 18, 2017
6c0d810
Merge pull request #4258 from keystonejs/greenkeeper-glamor-2.20.25
export-mike Aug 18, 2017
1e8cb71
Merge pull request #4326 from keystonejs/greenkeeper-morgan-1.8.2
export-mike Aug 18, 2017
e811e87
Merge pull request #4292 from keystonejs/greenkeeper-proxyquire-1.8.0
export-mike Aug 18, 2017
8eb4bed
Merge pull request #4331 from keystonejs/greenkeeper-sinon-2.3.2
export-mike Aug 18, 2017
e796e47
Merge branch 'master' into docs
export-mike Aug 18, 2017
3fb8a9c
Merge pull request #4420 from keystonejs/docs
Noviny Aug 23, 2017
149fa4f
Merge pull request #4357 from keystonejs/fix-default-view-folder
Sep 6, 2017
55f1f9b
Playing with Travic CI build
christroutner Sep 7, 2017
ebfd266
Playing with Travic CI build
christroutner Sep 7, 2017
9d251d5
Fix attempt for issue #3979
t100n Sep 8, 2017
f00ef2a
Updating contact info
christroutner Sep 8, 2017
cd30379
Merge pull request #4433 from christroutner/master
jstockwin Sep 10, 2017
dc14f62
Merge pull request #4370 from jankei/master
Noviny Sep 20, 2017
fb31149
Merge pull request #4174 from sktt/bugfix/FileFieldLink
Noviny Sep 20, 2017
9af53d8
Correcting password type check in PasswordType
Sep 20, 2017
cefe626
Merge pull request #4157 from keystonejs/feature/extract-password-val…
Sep 21, 2017
ce0a654
Merge branch 'master' into safe-require
Sep 21, 2017
ebd21c1
Merge pull request #4140 from keystonejs/safe-require
Sep 22, 2017
30d27a9
fix:typo in handleError in screens/Item/index.js
petertdinh Sep 22, 2017
e093f90
Merge pull request #4441 from petertdinh/patch-1
Noviny Sep 23, 2017
07c3768
fix:module-name in import statement in EditForm.js
petertdinh Sep 25, 2017
d7789b3
Merge pull request #4444 from petertdinh/patch-2
JedWatson Sep 25, 2017
c9f5bc1
Merge pull request #4175 from keystonejs/cloudinary-respect-secure-in…
Noviny Sep 25, 2017
b608e0d
Merge branch 'master' into patch-1
Noviny Sep 26, 2017
ef1c946
Merge pull request #4221 from bpavot/patch-1
Noviny Sep 26, 2017
d28bacc
Fix: model with required field that defaults to 0 can't be saved
jyrkive Sep 26, 2017
12de7af
Fix: model with required field that defaults to false can't be saved
jyrkive Sep 26, 2017
1182dbb
Merge branch 'master' into greenkeeper-babel-polyfill-6.23.0
Sep 26, 2017
45869f8
Merge pull request #3995 from keystonejs/greenkeeper-babel-polyfill-6…
Sep 27, 2017
c2fbf58
Commenting out redundant code in www dir
Sep 27, 2017
234a8cc
Removing `path` from server/initViewEngine
Sep 27, 2017
6a0386f
Removing commented out PropTypes import
Sep 27, 2017
72aa3de
Merge pull request #4447 from keystonejs/fix-eslint
Sep 27, 2017
3d90948
Removing redundant import
Sep 27, 2017
41c6e16
Merge pull request #4448 from keystonejs/fix-eslint
Sep 27, 2017
6a46089
Merge branch 'master' into greenkeeper-aphrodite-1.2.0
Sep 28, 2017
afd4929
Merge pull request #4077 from keystonejs/greenkeeper-aphrodite-1.2.0
Sep 29, 2017
a00c425
Merge pull request #4432 from t100n/issue-3979
Noviny Oct 1, 2017
3bd53d4
Merge pull request #4348 from keystonejs/greenkeeper-react-images-0.5.4
JedWatson Oct 2, 2017
16db976
[WIP] Updating packages (only minors and patches)
Oct 2, 2017
e5e850d
[WIP] Updating more packages (minor & patch)
Oct 2, 2017
45a011e
Updating last of the minor and patch packages
Oct 2, 2017
a61861b
Removing old aphropdite references
JedWatson Oct 3, 2017
ba77f16
Merge branch 'master' into easy-upgrades
Oct 3, 2017
884bf29
Fixing some "Prop types declarations should be sorted alphabetically"…
molomby Oct 6, 2017
15cb299
Merge pull request #4457 from keystonejs/molomby/linting-errors
molomby Oct 9, 2017
fd9cf50
Merge branch 'master' into easy-upgrades
Oct 10, 2017
0827e51
Changes to the few dependencies that were depending on [email protected]:
Oct 10, 2017
358857e
Fixing CSRF by reverting the (well meaning) changes made in PR 3756 (…
molomby Oct 6, 2017
1b791d5
Add some functionality to prevent macro injection via CSV export
molomby Oct 6, 2017
2ee049c
Fixing file extention
molomby Oct 16, 2017
3551765
extract password validation so users can access the validation within…
export-mike Mar 30, 2017
b3e5af0
Correcting password type check in PasswordType
Sep 20, 2017
8ecb809
Expanding password field configuration options and improving defaults…
molomby Oct 10, 2017
3e60374
Escaping values in the raw value of markdown field so it can be safel…
molomby Oct 16, 2017
5cb6405
Sanitization update to markdown fields -- remove unsafe html tags fro…
molomby Oct 16, 2017
bf71e71
Updating the markdown fieldtype docs to include the new sanitizer opt…
molomby Oct 16, 2017
cfa5135
Prep'ing for release as 4.0.0-beta.6
molomby Oct 16, 2017
b19c3ed
Fixed in Adapters.FS
Aldlevine Oct 17, 2017
d8fd144
Merge branch 'master' of https://github.com/keystonejs/keystone into …
Oct 20, 2017
57b7162
nerfed strongly worded comment
zacharysang Oct 20, 2017
f287a0f
Updating packages
JedWatson Oct 23, 2017
d1db89d
v4.0.0-beta.7
JedWatson Oct 23, 2017
6271bd7
Merge pull request #4475 from zacharysang/nerfComment
JedWatson Oct 23, 2017
f262c67
Merge pull request #4466 from Aldlevine/fix-fs-overwrite
JedWatson Oct 23, 2017
e226904
Merge branch 'master' into molomby/sec-fixes
JedWatson Oct 23, 2017
f08baa4
Merge pull request #4478 from keystonejs/molomby/sec-fixes
JedWatson Oct 23, 2017
ef86b42
Documentation about customizing the navigation bar
Oct 24, 2017
3b81e5b
Merge branch 'master' into easy-upgrades
Oct 30, 2017
e74866f
Add packages.js build
Oct 31, 2017
e061c72
Fix Password `validateInput` breaking tests related to security updates
Oct 31, 2017
8008781
Merge branch 'jm-fork' into master
bladey Oct 31, 2017
8828795
Revert "Merge branch 'jm-fork' into master"
bladey Oct 31, 2017
0ca9eb1
Merge pull request #4453 from keystonejs/easy-upgrades
Oct 31, 2017
c8aceb8
(feat) implements image thumbnails for the File type
cadriel Nov 13, 2017
4058435
moved thumb check to field level
cadriel Nov 16, 2017
62200bc
Fix for known security vulnerability in marked 0.3.6 dependency
Jan 7, 2018
e83f0a8
Merge pull request #4545 from keystonejs/fix/marked
JedWatson Jan 22, 2018
efa95aa
updating packages
Noviny Jan 22, 2018
eb7ef63
v4.0.0-beta.8
Noviny Jan 22, 2018
ce14c51
Merge pull request #4397 from jyrkive/required-number-with-default
Noviny Jan 22, 2018
3bdbe5f
Merge pull request #4387 from frapan/fix-custom-nav-links
Noviny Feb 25, 2018
a647b43
Fix autocleanup for cloudinary fixes 3476 (#4205)
Noviny Feb 25, 2018
ba1a6f0
Deprecate currency setting (#4132)
Noviny Feb 25, 2018
e6d2c2b
fix paginate to return on count error (#4167)
ramonfritsch Feb 25, 2018
80cef2a
Update README.md (#4569)
danielavilas Feb 25, 2018
5fca1f5
Should check undefined instead, otherwise value === 0 will not be abl…
gemscng Feb 25, 2018
4e8fd95
Update application-updates.md (#4582)
Feb 25, 2018
7410dba
Update yo-generator.md (#4581)
Feb 25, 2018
a6237b5
Update Readme.md (#4583)
petertdinh Feb 26, 2018
b847d19
Merge pull request #4509 from cadriel/feature/file-thumbnails
jossmac Feb 27, 2018
258af8c
replace hardcode keystone to path admin variable (#4586)
radames Mar 1, 2018
8154e46
replace knox git dependency with knox-s3 (#4574)
cvn Mar 1, 2018
a1333e3
Upgrade moment for CVE-2017-18214 (#4592)
DeviaVir Mar 6, 2018
a2e0aff
Merge pull request #4169 from saul-mtz/patch-1
JedWatson Apr 10, 2018
936f301
Fix website (#4615)
Noviny Apr 15, 2018
e3bacaf
fixing one test at a time
dominikwilkowski May 28, 2018
f12ca4c
fixed #4628
dominikwilkowski May 30, 2018
f399c05
fixing some typos and unnessesary comments
dominikwilkowski May 30, 2018
27fb655
removed commented out tests as there are not meaningful
dominikwilkowski May 30, 2018
3b04476
fixing admin ui tests (thanks to Vito)
dominikwilkowski May 31, 2018
faf502a
Fix test failure due to password complexity requirement added in 8ecb809
stennie Jun 7, 2018
f3bf40c
Fix the wrong link to typography
tuan23 Jun 7, 2018
259a247
Added the typopgrahy plugin into gatsby-config
tuan23 Jun 7, 2018
77b99a8
Update typography to latest version
tuan23 Jun 7, 2018
e26f14a
Fix typo in @KeystoneJS and change GitHub link to https
stennie Jun 7, 2018
5a35d86
Remove failing tests as discussed with @JedWatson and @dominikwilkowski
stennie Jun 12, 2018
a6c70f4
Merge pull request #4643 from keystonejs/unblock-tests
dominikwilkowski Jun 12, 2018
17a5b2a
Keystone 4 website clean up and fixing stuff
tuan23 Jun 14, 2018
e14d9c3
Replace window.location.pathname with this.props.location.pathname
tuan23 Jun 14, 2018
f8342ab
Add React Helmet
tuan23 Jun 14, 2018
b77b700
Add Twitter Butotn
tuan23 Jun 14, 2018
2f6f3a8
Mobile optimsations
tuan23 Jun 14, 2018
be0d0c0
Linting warning fix
tuan23 Jun 14, 2018
63ad1d5
Adding in the missing DayPicker-WeekdaysRow (#4601)
jsundquist Jun 14, 2018
9b92be9
Fix #4652: Remove EOL Node releases from Travis testing
stennie Jun 15, 2018
9efd893
show color swatch on color field
mikehazell Jun 21, 2018
33c1e94
Merge pull request #4662 from mikehazell/master
dominikwilkowski Jun 22, 2018
b2d5786
Fix #4665: Update Readme for Keystone 4.0.0-rc0
stennie Jun 22, 2018
ddd90da
Fix missing bullets and tweak per feedback from Jed
stennie Jun 22, 2018
8861985
Fix bullets & update RC title
stennie Jun 22, 2018
7f9ef32
Fix Relationship Fields link
stennie Jun 22, 2018
96f81c3
Merge pull request #4666 from stennie/issue-4665
JedWatson Jun 22, 2018
35b48f4
Fix for empty relationships submitting no value
JedWatson Jun 22, 2018
3953813
Fix for updating single relationship values
JedWatson Jun 22, 2018
a726d4a
Merge pull request #4667 from keystonejs/empty-relationship-fix
JedWatson Jun 22, 2018
897022b
updating packages bundle
dominikwilkowski Jun 22, 2018
258d8f8
Remove link to `keystone-starter` (currently a v0.3 demo that doesn't…
stennie Jun 23, 2018
8d161e2
Add mention of new File API and link to Contributor Guide
stennie Jun 23, 2018
48ba6c9
Reorganise README sections and add Table of Contents
stennie Jun 23, 2018
e0c343b
Move field type overview to documentation
stennie Jun 23, 2018
231e4b4
Move dev & testing information to Contributor Guide
stennie Jun 23, 2018
6687a22
Change Netlify doc links to https
stennie Jun 24, 2018
9b1d304
Change Thinkmill link to https
stennie Jun 24, 2018
6ea883f
Consolidate the Contributing blurb
stennie Jun 24, 2018
f281b3d
Update GitHub issue/PR templates
stennie Jun 25, 2018
d34f456
Tidy home page text & link to current release information
stennie Jun 25, 2018
9e4ab62
Fix #4686: CloudinaryImage(s) fields were incorrectly marked as depre…
stennie Jun 29, 2018
6ca7a3f
Update deps according to semver
stennie Jun 24, 2018
41a10c2
Remove --growl from Mocha options; fails on Mocha 4+ unless `growl-no…
stennie Jun 24, 2018
281bc0c
Update to latest browserify
stennie Jun 24, 2018
e6993f2
Upgrade `debug` dependency
stennie Jun 29, 2018
1e458db
Fix bug in Safari where XHR form submission fails with empty file inp…
erikvdplas Jun 30, 2018
e4ca3c7
Include keystone.version in startup message (#4692)
stennie Jul 1, 2018
8f5c76f
Remove unused title markdown from README.md
stennie Jul 2, 2018
076253d
updated packages bundle
dominikwilkowski Jul 6, 2018
5aa10a9
bumped version to RC1
dominikwilkowski Jul 6, 2018
c379426
Added session max age cookie to match keystone.uid cookie expiry
Feb 5, 2018
8bf9b1a
smooth scroll spped now based on current scroll position
May 16, 2018
4a121d7
Restore/repair S3 image uploading in tinymce
Tathanen Mar 8, 2018
dec4921
Use custom root for S3 paths
Tathanen May 9, 2018
0ab5ce8
Check that req.session.cookie exists before setting maxAge
stennie Jul 7, 2018
e68f78a
Make listing browser versions a more obvious PR testing requirement
stennie Jul 7, 2018
1754cff
Enhance numeric fields
ttsirkia Jul 7, 2018
2238087
Replace / with . to delimiter the file extension
ocalvet Jul 7, 2018
640f47e
Update part-4.md
Nugator Jun 28, 2018
960b114
Fix typo: s/gloing/going/
stennie Jul 7, 2018
d75ca74
Update options.md (#4621)
isjia Apr 25, 2018
517ada9
Fixed typo (#4597)
1337cookie Apr 10, 2018
88a4680
Added letsencrypt configuration docs for #4181
zacharysang Sep 22, 2017
ef41b40
Added more info on Application updates with required relationships.
Aug 24, 2017
bf952ed
Documented breaking change to `pre:routes` behaviour.
Aug 24, 2017
a10d2c1
Update `package.json` reference to rc1
stennie Jul 7, 2018
0301393
Upgrade qs to 6.5.2
stennie Jul 7, 2018
776cb2f
Add pointer to Keystone 4 beta/RC release notes
stennie Jul 7, 2018
96a0523
- Upgrade to Mongoose 4.13.14: https://github.com/Automattic/mongoos…
stennie Jul 7, 2018
7b8115b
Update z-index of color chooser
TuurDutoit May 2, 2017
be45785
Fix #4706: Docs: Application Updates is 404
stennie Jul 10, 2018
02e5db9
Fix #4707: Docs: Edit this page links are broken
stennie Jul 10, 2018
2b5fa7f
Fix #4688: Deprecated File field types have broken docs link
stennie Jul 10, 2018
637aa68
Remove WIP notes
stennie Jul 10, 2018
e26ad60
Fix #4708: Update Getting Started page
stennie Jul 10, 2018
1206c09
added semver notations to dependencies
dominikwilkowski Jul 23, 2018
15727d3
fixed typo
dominikwilkowski Jul 23, 2018
1c93aa2
Improve sanity checking for signin "from" param
stennie Jul 23, 2018
b87e78b
Merge branch 'master' into signin
stennie Jul 23, 2018
3e9e9cd
Minor fixes and improvements to the location field type (#4455)
molomby Jul 23, 2018
eb7c1bb
Update to multer 1.3.1 and automatically clean uploaded files (#4704)
JedWatson Jul 23, 2018
27aa760
Merge branch 'master' into signin
dominikwilkowski Jul 23, 2018
6a651b7
Merge pull request #4720 from stennie/signin
dominikwilkowski Jul 23, 2018
c2af0af
Reviewed Getting Started documentation (#4721)
Jul 23, 2018
fa3fbb4
updating package bundle
dominikwilkowski Jul 25, 2018
09685b8
bumped version 📣🎉
dominikwilkowski Jul 25, 2018
b38498c
FIxing broken links in README.md
nathsimpson Jul 25, 2018
3f6966c
remove lock files
dominikwilkowski Jul 26, 2018
545658f
Merge branch 'master' into feature/website-cleanup
dominikwilkowski Jul 26, 2018
ab005a9
Merge branch 'master' into feature/website-cleanup
dominikwilkowski Jul 26, 2018
f8a5bd0
ignore lock files
dominikwilkowski Jul 26, 2018
c020ea2
Merge pull request #4731 from keystonejs/feature/website-cleanup
dominikwilkowski Jul 26, 2018
6fc8ff6
Merge pull request #1 from keystonejs/master
Jul 26, 2018
a6c0c28
Adding Favicon to Keystone 4 website
nathsimpson Jul 26, 2018
1654e44
Added Google Analytics Code to V4 website
nathsimpson Jul 26, 2018
9e6d947
Removed incorrect image
nathsimpson Jul 27, 2018
2d811a0
Created 404.js
nathsimpson Jul 27, 2018
6f01a86
Fixed broken links to componants
nathsimpson Jul 27, 2018
9850c30
Tweaking the content
nathsimpson Jul 27, 2018
42f67a3
Adding Google Analytics and Favicons (#4740)
Jul 27, 2018
e818bad
Add Netlify redirects for v3 paths to v4 equivalents
stennie Jul 27, 2018
e2f4ca8
Fixed a typo in Project-Options.md
Jul 28, 2018
b61776e
Fixed links to configuration pages
eduard-malakhov Jul 30, 2018
01e995c
Link to 4.x release history
stennie Jul 27, 2018
07cb153
Make titles for Setting Up sections consistent
stennie Jul 30, 2018
9590431
Include defaultColumns in code example
stennie Jul 30, 2018
0f02f88
Improve section labels for Get Started
stennie Jul 30, 2018
46c14ad
Clean up text & formatting
stennie Jul 30, 2018
1297080
Clean up text & formatting
stennie Jul 31, 2018
af6e0a4
Merge pull request #2 from keystonejs/master
Aug 1, 2018
ad91894
Merge pull request #3 from nathansimpson95/fourOhFour
Aug 1, 2018
20a7723
Merge pull request #4756 from nathansimpson95/master
dominikwilkowski Aug 2, 2018
44fcbb6
Update index.md
codyspate Aug 21, 2018
8a089c8
Update part-4.md
lvntruong Aug 27, 2018
2ef083f
Fix #4762: Bump kerberos & letsencrypt-express dependencies
stennie Sep 5, 2018
1884b3e
Correct typo in templates/views/addEvent.pug
gverni Sep 24, 2018
e7a513e
Fix typo in part 4 of tutorial (thanks @ebrahimamer)
stennie Sep 25, 2018
b412927
add alt test to delete button
jimulle Oct 2, 2018
55ead95
Fix #4815: Typo in Getting started part 4 tutorial
stennie Oct 2, 2018
c579400
Fix #4818: Add redirect for /guide/config
stennie Oct 4, 2018
36b82c6
documentation updates
jimulle Oct 2, 2018
3efe7dd
Merge branch 'master' into add-alt-text-to-delete-button
autoboxer Oct 4, 2018
d263dbd
Merge pull request #4813 from jimulle/add-alt-text-to-delete-button
autoboxer Oct 5, 2018
cc7c591
DOCS: Fix typo for TextArray Field
kennedybaird Oct 6, 2018
605087f
Update Underscore-Methods.md
laurenskling Oct 12, 2018
0a32075
Update options.md
laurenskling Oct 12, 2018
f4066c4
Merge pull request #4828 from laurenskling/patch-1
autoboxer Oct 12, 2018
6269b19
Merge branch 'master' into patch-2
autoboxer Oct 12, 2018
9d21a4b
Fixed incorrectly named API method label (fixes #4825)
Vultraz Oct 12, 2018
5586c90
Merge pull request #4829 from laurenskling/patch-2
autoboxer Oct 12, 2018
b48a632
Merge branch 'master' into patch-1
autoboxer Oct 12, 2018
02accc6
Merge pull request #4826 from Vultraz/patch-1
autoboxer Oct 12, 2018
95e9209
docs(syntax): update an upper-case (#4810)
clement-is Oct 13, 2018
cb887a6
incorrect link to database docs (#4833)
kennedybaird Oct 13, 2018
2180b7e
fix: fields explorer invalid capitilisations (#4834)
kennedybaird Oct 14, 2018
50b221e
Bug - Fix UTC DateColumn vaue display (#4841)
alsoicode Oct 29, 2018
1e7e2b0
Fixed typo in paginate() docs (#4839)
Vultraz Oct 29, 2018
8ae2848
Refer to the newest release "4.0.0"
Nov 5, 2018
c7db2a3
Completed opening sentence
agmt5989 Nov 21, 2018
a202478
Added option to hide Today button in Date field (#4869)
marcin-lawrowski Dec 5, 2018
17976c3
Fixed dependsOn setting when applied to a boolean field set to false …
marcin-lawrowski Dec 10, 2018
8455fd5
UPDATE deleteItem action with custom error message (#4683)
RecuencoJones Dec 19, 2018
027339d
Return a 500 error when `item.remove` fails (#4832)
laurenskling Dec 19, 2018
d98bb6d
Build S3 upload name when not present (#4871)
Tathanen Dec 19, 2018
0260bc5
Fix markup typo in quick start docs. (#4854)
itzaks Dec 19, 2018
359b451
Urlfield enahancement (#4856)
gemscng Dec 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ insert_final_newline = true
indent_style = tab

[*.js]
indent_size = 4
indent_size = 2

[*.json]
indent_style = space
Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ docs/*
fields/types/**/lib/*
node_modules/*
test/*
website/*
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

Please ask questions and support requests on:
* https://stackoverflow.com/questions/tagged/keystonejs
* https://gitter.im/keystonejs/keystone

New features can be requested and voted upon on:
* https://productpains.com/product/keystonejs
Join the KeystoneJS Slack for discussion with the community & contributors:
* https://launchpass.com/keystonejs
-->

### Expected behavior
Expand All @@ -23,7 +22,7 @@

### Steps to reproduce the actual/current behavior
<!-- If you're describing a bug, tell us what steps to take to reproduce your bug -->
<!-- If you'resuggesting a change/improvement, explain how to reproduce the current behavior -->
<!-- If you're suggesting a change/improvement, explain how to reproduce the current behavior -->



Expand All @@ -33,4 +32,5 @@
| Software | Version
| ---------------- | -------
| Keystone |
| Node |
| Node.js |
| Browser |
19 changes: 10 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
<!--

Please make sure the following is filled in before submitting your Pull Request - thanks!

Join the KeystoneJS Slack for discussion with the community & contributors:
* https://launchpass.com/keystonejs
-->

## Description of changes



## Related issues (if any)


## Testing

- [ ] Please confirm `npm run test-all` ran successfully.
- [ ] List browser version(s) any admin UI changes were tested in:
- [ ] Please confirm you've added (or verified) test coverage for this change.
- [ ] Please confirm `npm run test-all` ran successfully.

<!--

Notes:

* To successfully have all e2e tests pass you need to have the following setup:
- a recent version of the chrome browser
- java 1.8+
* For more information on the End-2-End (E2E) testing framework for Keystone 4, see:
https://github.com/keystonejs/keystone-nightwatch-e2e
* To successfully have all E2E tests pass you need to have the following set up:
- A recent version of Chrome or Firefox
- Java Runtime Environment 1.8+
* If you are developing in Windows you may run into linebreak linting issues.
One possible workaround is to remove the "linebreak-style" rule in `node_modules/eslint-config-keystone/eslintrc.json`.

-->

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ reports

test/e2e/drivers/*

package-lock.json
yarn.lock

# Website dependencies
website/.cache
website/public
19 changes: 3 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,7 @@ matrix:
- npm run test-admin
env:
- JOB=unit_tests_node_6
- node_js: '5'
script:
- npm run test-admin
env:
- JOB=unit_tests_node_5
- node_js: '4'
script:
- npm run test-admin
env:
- JOB=unit_tests_node_4
- node_js: '0.12'
script:
- npm run test-admin
env:
- JOB=unit_tests_node_0.12


before_script:
- sleep 15
Expand All @@ -76,8 +62,9 @@ services:
git:
depth: 10
cache:
yarn: true
directories:
- node_modules
- node_modules
addons:
apt:
sources:
Expand Down
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

KeystoneJS is maintained by [@JedWatson](https://github.com/JedWatson) and an amazing team of contributors. All contributions are given credit here except for Jed's.

Release notes for Keystone 4 beta & release candidates can be found on the [GitHub releases]( https://github.com/keystonejs/keystone/releases) page.

Changes for production releases are included below.

## v0.3.22 / 2016-07-22

Expand Down
157 changes: 49 additions & 108 deletions README.md

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions admin/client/App/components/Navigation/Primary/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ var PrimaryNavigation = React.createClass({

return this.props.sections.map((section) => {
// Get the link and the class name
const href = section.lists[0].external ? section.lists[0].path : `${Keystone.adminPath}/${section.lists[0].path}`;
const to = !section.lists[0].external && `${Keystone.adminPath}/${section.lists[0].path}`;
const href = section.lists[0].external && section.lists[0].path;
const isActive = this.props.currentSectionKey && this.props.currentSectionKey === section.key;
const className = isActive ? 'primary-navbar__item--active' : null;

Expand All @@ -101,7 +102,8 @@ var PrimaryNavigation = React.createClass({
key={section.key}
label={section.label}
className={className}
to={href}
to={to}
href={href}
>
{section.label}
</PrimaryNavItem>
Expand Down
14 changes: 7 additions & 7 deletions admin/client/App/elemental/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Button extends Component {
render () {
var {
active,
aphroditeStyles,
cssStyles,
block,
className,
color,
Expand All @@ -43,7 +43,7 @@ class Button extends Component {
block ? commonClasses.block : null,
disabled ? commonClasses.disabled : null,
active ? variantClasses.active : null,
...aphroditeStyles
...cssStyles
);
if (className) {
props.className += (' ' + className);
Expand All @@ -64,23 +64,23 @@ class Button extends Component {

Button.propTypes = {
active: PropTypes.bool,
aphroditeStyles: PropTypes.arrayOf(PropTypes.shape({
_definition: PropTypes.object,
_name: PropTypes.string,
})),
block: PropTypes.bool,
color: PropTypes.oneOf(BUTTON_COLORS),
component: PropTypes.oneOfType([
PropTypes.func,
PropTypes.string,
]),
cssStyles: PropTypes.arrayOf(PropTypes.shape({
_definition: PropTypes.object,
_name: PropTypes.string,
})),
disabled: PropTypes.bool,
href: PropTypes.string,
size: PropTypes.oneOf(BUTTON_SIZES),
variant: PropTypes.oneOf(BUTTON_VARIANTS),
};
Button.defaultProps = {
aphroditeStyles: [],
cssStyles: [],
color: 'default',
variant: 'fill',
};
Expand Down
10 changes: 5 additions & 5 deletions admin/client/App/elemental/FormField/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class FormField extends Component {
render () {
const { formLayout = 'basic', labelWidth } = this.context;
const {
aphroditeStyles,
cssStyles,
children,
className,
cropLabel,
Expand All @@ -31,7 +31,7 @@ class FormField extends Component {
classes.FormField,
classes['FormField--form-layout-' + formLayout],
offsetAbsentLabel ? classes['FormField--offset-absent-label'] : null,
aphroditeStyles
cssStyles
);
if (className) {
props.className += (' ' + className);
Expand Down Expand Up @@ -75,12 +75,12 @@ FormField.childContextTypes = {
formFieldId: PropTypes.string,
};
FormField.propTypes = {
aphroditeStyles: PropTypes.oneOfType([
children: PropTypes.node,
cropLabel: PropTypes.bool,
cssStyles: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.shape(stylesShape)),
PropTypes.shape(stylesShape),
]),
children: PropTypes.node,
cropLabel: PropTypes.bool,
htmlFor: React.PropTypes.string,
label: React.PropTypes.string,
offsetAbsentLabel: React.PropTypes.bool,
Expand Down
6 changes: 3 additions & 3 deletions admin/client/App/elemental/FormInput/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FormInput extends Component {
}
render () {
const {
aphroditeStyles,
cssStyles,
className,
disabled,
id,
Expand All @@ -36,7 +36,7 @@ class FormInput extends Component {
classes['FormInput__size--' + size],
disabled ? classes['FormInput--disabled'] : null,
formLayout ? classes['FormInput--form-layout-' + formLayout] : null,
...concatClassnames(aphroditeStyles)
...concatClassnames(cssStyles)
);
if (className) {
props.className += (' ' + className);
Expand All @@ -61,7 +61,7 @@ const stylesShape = {
};

FormInput.propTypes = {
aphroditeStyles: PropTypes.oneOfType([
cssStyles: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.shape(stylesShape)),
PropTypes.shape(stylesShape),
]),
Expand Down
1 change: 0 additions & 1 deletion admin/client/App/elemental/FormInput/noedit.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const classes = {
borderWidth: theme.input.border.width,
color: theme.color.gray80,
display: 'inline-block',
height: theme.input.height,
lineHeight: theme.input.lineHeight,
padding: `0 ${theme.input.paddingHorizontal}`,
transition: 'border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s',
Expand Down
12 changes: 6 additions & 6 deletions admin/client/App/elemental/FormLabel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { PropTypes } from 'react';
import classes from './styles';

function FormLabel ({
aphroditeStyles,
cssStyles,
className,
component: Component,
cropText,
Expand All @@ -20,7 +20,7 @@ function FormLabel ({
classes.FormLabel,
formLayout ? classes['FormLabel--form-layout-' + formLayout] : null,
cropText ? classes['FormLabel--crop-text'] : null,
aphroditeStyles
cssStyles
);
if (className) {
props.className += (' ' + className);
Expand All @@ -41,15 +41,15 @@ const stylesShape = {
};

FormLabel.propTypes = {
aphroditeStyles: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.shape(stylesShape)),
PropTypes.shape(stylesShape),
]),
component: PropTypes.oneOfType([
PropTypes.string,
PropTypes.func,
]),
cropText: PropTypes.bool,
cssStyles: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.shape(stylesShape)),
PropTypes.shape(stylesShape),
]),
};
FormLabel.defaultProps = {
component: 'label',
Expand Down
12 changes: 6 additions & 6 deletions admin/client/App/elemental/Glyph/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import classes from './styles';
// font and CSS; inflating the project size

function Glyph ({
aphroditeStyles,
cssStyles,
className,
color,
component: Component,
Expand All @@ -24,7 +24,7 @@ function Glyph ({
classes.glyph,
colorIsValidType && classes['color__' + color],
classes['size__' + size],
aphroditeStyles
cssStyles
) + ` ${octicons[name]}`;
if (className) {
props.className += (' ' + className);
Expand All @@ -40,14 +40,14 @@ function Glyph ({
};

Glyph.propTypes = {
aphroditeStyles: PropTypes.shape({
_definition: PropTypes.object,
_name: PropTypes.string,
}),
color: PropTypes.oneOfType([
PropTypes.oneOf(Object.keys(colors)),
PropTypes.string, // support random color strings
]),
cssStyles: PropTypes.shape({
_definition: PropTypes.object,
_name: PropTypes.string,
}),
name: PropTypes.oneOf(Object.keys(octicons)).isRequired,
size: PropTypes.oneOf(Object.keys(sizes)),
};
Expand Down
2 changes: 1 addition & 1 deletion admin/client/App/elemental/GlyphButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function GlyphButton ({

const icon = (
<Glyph
aphroditeStyles={classes.glyph}
cssStyles={classes.glyph}
color={glyphColor}
name={glyph}
size={glyphSize}
Expand Down
4 changes: 2 additions & 2 deletions admin/client/App/elemental/GlyphField/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function GlyphField ({

const icon = (
<Glyph
aphroditeStyles={classes.glyph}
cssStyles={classes.glyph}
color={glyphColor}
name={glyph}
size={glyphSize}
Expand All @@ -30,7 +30,7 @@ function GlyphField ({
);

return (
<Field aphroditeStyles={classes.wrapper} {...props}>
<Field cssStyles={classes.wrapper} {...props}>
{isLeft && icon}
{children}
{isRight && icon}
Expand Down
Loading