0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

7430 Commits

Author SHA1 Message Date
Thibaud Colas
3bf4e10902 Add best practice node modules aliasing 2017-06-09 16:42:48 +03:00
Thibaud Colas
8a0238768d Move polyfills definition outside of Webpack config 2017-06-09 16:42:48 +03:00
Thibaud Colas
53923397cc Move Babel config to package.json 2017-06-09 16:42:48 +03:00
Thibaud Colas
f75fa0a880 Use portable sub-directory install npm command 2017-06-09 16:42:48 +03:00
Thibaud Colas
d2a62f7277 Remove useless browserify config from package.json 2017-06-09 16:42:48 +03:00
LB
18cb0245fc allow default for show_in_menus 2017-06-09 12:50:39 +01:00
Jeffrey Chau
0c9ad90edd Fix document chooser template to account for hidden fields 2017-06-09 12:31:33 +01:00
Thibaud Colas
61b6de2e4e Tidy up new React + API explorer for mobile (fixes #3607) (#3635)
* Remove useless CSS declaration

* Remove commented out styles

* Merge duplicate declarations

* Remove even more commented out code

* Move footer mq to footer declaration

* Remove more useless code

* Stop vendor prefixing for IE below 11

* Remove useless vendor prefixing

* Merge identical declarations

* Fix 1px overflow in content wrapper

* Fix explorer scrolling when open on mobile

* Remove unused import

* Add Redux performance measurements to explorer menu

* Rewrite explorer reducer to avoid unnecessary operations

* Stop changing reducer state on every action regardless of type

* Remove redundant children.isFetching property in nodes reducer

* Remove redundant children.isLoaded property in nodes reducer

* Remove redundant children.isError property in nodes reducer

* Refactor nodes explorer reducer with sub-reducer

* Fix linting issue

* Remove unused class name

* Change default icon className from empty string to null

* Remove old TODO comment

* Hoist icons in ExplorerItem component for better performance

* Add comment

* Add tooling for performance measurement of React components

* Clean up explorer panel component definition

* Make performance measurements opt-in

* Improve alignment of page explorer menu on mobile

* Close explorer on touchend rather than touchstart

* Comment out performance measurement code

* Remove fade transition completely
2017-06-09 00:08:04 +03:00
Matt Westcott
ea8ab5de45 Document Elasticsearch 5.4 incompatibility with ATOMIC_REBUILD 2017-06-07 15:08:48 +01:00
Matt Westcott
ad3e4c3d53 Install Elasticsearch 5.3.3 for Travis
5.4 has a bug in testing existence of aliases which causes tests to fail: https://github.com/elastic/elasticsearch/issues/24644
2017-06-07 15:08:48 +01:00
Janneke Janssen
911567af4e Update Webpack to v2 (#3628)
* Update webpack and its dependencies
* Update base config to Webpack 2
2017-06-07 12:39:24 +03:00
Thibaud Colas
952e3a8e49 Add a test building front-end assets in CicleCI tests (#3636)
A valuable check for PRs like #3628 touching the tooling.
2017-06-07 12:22:45 +03:00
Matt Westcott
b976db3afc Pin isort to 4.2.5 - fixes #3623 2017-06-02 12:23:49 +01:00
Matt Westcott
0c745855ff Add release note re wagtailsitemaps fix 2017-06-02 10:59:54 +01:00
Matt Westcott
927770eaab Release note / docs for #3608 2017-06-02 10:58:34 +01:00
Matt Westcott
4aa404251d Add migration to populate Page.last_published_at from latest_revision_created_at 2017-06-01 14:46:53 +01:00
Matt Westcott
7f34adda0a Use last_published_at for lastmod in sitemaps - fixes #3565 2017-06-01 11:53:01 +01:00
Matt Westcott
21dc3e2fac Add last_published_at field
Also tighten up behaviour of first_published_at and live_revision when copying pages and publishing with a future go-live date
2017-06-01 11:53:01 +01:00
John Franey
3f8052064e Mention PostgreSQL backend in docs Search index
Updates the Search docs index to mention the new PostgreSQL backend
2017-05-30 20:48:46 +01:00
Matt Westcott
2f2bfa0159 Make tagging example not rely on an unmentioned 'blogs' method - fixes #3602 2017-05-30 20:39:30 +01:00
Matt Westcott
609683ea2c Clarify "Steps to reproduce" in new issue template (#3610)
Bug reporters are frequently not making the connection that "Steps to reproduce" means "steps for someone else to independently reproduce this bug", not "steps that I go through on my project to see this bug". Added some example text to gently steer people towards the level of detail we want...

Also trimmed down the "Wagtail version" item under "Technical details", since we don't really need to tell people four different ways to do the same thing. (We don't want people to mentally tune this text out, so I think it's a good habit to remove something for every new thing we add)
2017-05-30 20:31:23 +01:00
Thibaud Colas
de72df922b Ignore npm-debug.log files with suffix
For some reason npm-debug.log files now have a very long suffix that needs further matching in `.gitignore`s.
2017-05-30 00:10:24 +03:00
Thibaud Colas
2058669eae Use runInBand to make Jest tests faster in CI env (#3618)
See https://facebook.github.io/jest/docs/troubleshooting.html#tests-are-extremely-slow-on-docker-and-or-continuous-integration-ci-server for further details.
2017-05-28 22:06:30 +03:00
Janneke Janssen
f4f0e78f6a Update React & Jest (#3611)
* Update to the latest jest version

* Update react dependencies

* Migrate React.PropTypes to PropTypes package

* Add prop-types to the package.json

* Update transition-group import to its new package

* Update jest snapshots

* Exclude node_modules from webpack babel-loader
2017-05-28 21:49:05 +03:00
Karl Hobley
cecbfbf32d Extend known_third_party to include all other third party modules
isort's auto detection of third party modules seems to be quite flaky.
This should stop it making any mistakes.
2017-05-26 13:20:06 +01:00
Karl Hobley
7fe1cc4f0c Set known_{first,third}_party isort settings 2017-05-26 13:03:41 +01:00
Karl Hobley
c83a8a0a67 Fix import sorting in project_template
In a rendered project, the "search" import is local but it was being
treated as third party by isort.
2017-05-26 13:03:41 +01:00
Karl Hobley
9b4f608cd1 Deleted .drone.yml 2017-05-26 13:03:41 +01:00
Karl Hobley
635c627ad9 Circle CI config 2017-05-26 13:03:41 +01:00
Mikalai Radchuk
9d64068082 Release notes for #3588 2017-05-23 20:55:43 +01:00
Mikalai Radchuk
4052c31668 Allow mixcloud urls with and without www 2017-05-23 20:46:28 +01:00
Alice Rose
522a383acb Update Mixcloud oembed pattern, add https support.
As per docs at
  https://www.mixcloud.com/developers/#embedding
2017-05-23 20:32:09 +01:00
Karl Hobley
1d4b069d3e Remove 'value' attribute from an '<a>' tag
I initially thought this was missing a ``{% trans %}`` tag but according to [MDN](https://developer.mozilla.org/en/docs/Web/HTML/Element/a) ``value`` isn't a valid attribute to put on an ``<a>`` tag anyway so this commit removes it.
2017-05-23 11:10:21 +01:00
Matt Westcott
3b44b354e3 Update release date for 1.10.1 2017-05-19 12:54:52 +01:00
Matt Westcott
188a24e04c Release note for #3603 2017-05-19 12:54:15 +01:00
Matt Westcott
febd1727a8 Remove territory-specific translation files with lower coverage than the general ones (#3603)
See #3600 - Django does not support gettext fallback translations, so the presence of incomplete translations prevents the general translations from showing up.
2017-05-19 12:36:09 +01:00
Karl Hobley
415a6b2fbe Changelog/release note for #3593 2017-05-18 09:56:10 +01:00
Matt Westcott
5022f3118d Assign persistent IDs to StreamBlock items (#3593) 2017-05-18 09:52:58 +01:00
Matt Westcott
e96ee76c3d Add release note for #3586 2017-05-17 16:35:50 +01:00
Thibaud Colas
e73c97463f Remove useless JS referencing explorer 2017-05-17 13:14:53 +01:00
Thibaud Colas
bfbc23e33a Move all explorer-related styles to the same file 2017-05-17 13:14:52 +01:00
Thibaud Colas
7870067c2c Update documentation referring to the explorer menu 2017-05-17 13:14:50 +01:00
Thibaud Colas
cb89f8e04b Add additional test for explorer menu item presence 2017-05-17 13:14:48 +01:00
Thibaud Colas
c0203ce26e Recycle explorer menu tests 2017-05-17 13:14:47 +01:00
Matt Westcott
32bae04366 Remove obsolete get_navigation_menu_items function 2017-05-17 13:14:44 +01:00
Matt Westcott
69bc5d4698 Remove obsolete explorer nav templates / tags 2017-05-17 13:14:43 +01:00
Matt Westcott
b5252d96f2 Remove explorer_nav view 2017-05-17 13:14:41 +01:00
Matt Westcott
59f2a5953b Remove Javascript from explorer menu item 2017-05-17 13:14:40 +01:00
Matt Westcott
761b19be96 Don't use explorer-menu.js to test for menu JS being pulled in
because we're about to ditch it
2017-05-17 13:14:36 +01:00
Matheus Bratfisch
41c8bfced9 Add live_revisions fk on Page, tests, migrations, update template 2017-05-16 17:06:02 +01:00