0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
Luiz Boaretto
ee9403f7f7 Fix typo for wagtailsnippets JS
Currently, it's not possible to select a snippet because the JS file is not loaded, resulting in the error:
ReferenceError: createSnippetChooser is not defined

This is due to a typo in the gulp config file.
2017-11-30 16:52:49 +00:00
Matt Westcott
d73d714e02 Update appNames in gulpfile 2017-11-26 22:43:47 +00:00
Karl Hobley
9a13b09d41 Renamed wagtail.contrib.wagtailstyleguide to wagtail.contrib.styleguide 2017-11-26 22:43:47 +00:00
Karl Hobley
80ff06f988 Rename wagtail.wagtailusers to wagtail.users
Conflicts:
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/utils.py
	wagtail/admin/views/account.py
	wagtail/users/views/groups.py
	wagtail/users/views/users.py
	wagtail/users/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
1ecf48fb3f Rename wagtail.wagtailsnippets to wagtail.snippets
Conflicts:
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/topics/pages.rst
	docs/topics/snippets.rst
	gulpfile.js/config.js
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/snippets/tests.py
	wagtail/snippets/views/chooser.py
	wagtail/snippets/views/snippets.py
	wagtail/snippets/wagtail_hooks.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/models.py
2017-11-26 22:43:47 +00:00
Karl Hobley
bf0f3e02ba Rename wagtail.wagtailimages to wagtail.images
Conflicts:
	docs/advanced_topics/api/v2/configuration.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	gulpfile.js/config.js
	tox.ini
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_streamfield.py
	wagtail/documents/tests/test_models.py
	wagtail/images/models.py
	wagtail/images/permissions.py
	wagtail/images/tests/test_admin_views.py
	wagtail/images/tests/test_image_operations.py
	wagtail/images/tests/test_models.py
	wagtail/images/tests/test_signal_handlers.py
	wagtail/images/views/chooser.py
	wagtail/images/views/images.py
	wagtail/images/views/multiple.py
	wagtail/images/wagtail_hooks.py
	wagtail/images/widgets.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/migrations/0001_initial.py
	wagtail/tests/testapp/migrations/0008_inlinestreampage_inlinestreampagesection.py
	wagtail/tests/testapp/migrations/0009_defaultstreampage.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
54d8357f96 Rename wagtail.wagtailembeds to wagtail.embeds
Conflicts:
	gulpfile.js/config.js
	wagtail/embeds/blocks.py
	wagtail/embeds/tests.py
	wagtail/embeds/views/chooser.py
	wagtail/embeds/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
78b1372cd4 Rename wagtail.wagtaildocs to wagtail.documents
Conflicts:
	docs/advanced_topics/i18n/index.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	gulpfile.js/config.js
	wagtail/admin/tests/test_collections_views.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_collection_permission_policies.py
	wagtail/documents/permissions.py
	wagtail/documents/tests/test_admin_views.py
	wagtail/documents/tests/test_collection_privacy.py
	wagtail/documents/tests/test_models.py
	wagtail/documents/views/chooser.py
	wagtail/documents/views/documents.py
	wagtail/documents/views/serve.py
	wagtail/documents/wagtail_hooks.py
	wagtail/documents/widgets.py
	wagtail/project_template/project_name/urls.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/models.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
63a32fb77f Fix path to admin SCSS files in gulp config 2017-11-26 22:43:47 +00:00
Thibaud Colas
c9095445cb Process CSS with cssnano in development build 2017-11-17 14:38:19 +00:00
Matt Westcott
a3e6ebb7d3 Prevent cssnano from 'optimising' z-index:9999 into z-index: 1. Fixes #3944 2017-11-07 16:16:24 +00:00
Vincent Audebert
a10e1f0761 Add CSS minification and source maps for Sass 2017-08-27 20:25:53 +02:00
Thibaud Colas
80cbef5b78 Stop using require-dir 2017-08-11 15:40:43 +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
Karl Hobley
b96be5aa35 Modeladmin scss cleanups (#2481)
* Hyphenate classname: result_list => result-list

* Fixed gulp config for compiling scss

Was compiling to modeladmin/index.css instead of wagtailmodeladmin.css which caused the styles to not load

* Nest scss rules

Makes the scss easier to read I think

* Let choose_parent_page.scss use an id selector

* Converted ids to classes

* scss style tweaks

* Allow choose_parent_page.scss to use id selector

We should definitely solve this. But need to get Drone working right now
2016-04-16 17:15:47 +01:00
Andy Babic
dcb67dcfdf Added wagtailmodeladmin to contrib with docs 2016-04-14 15:03:49 +01:00
mr-winter
c185e57347 output sass errors in terminal and prevent gulp watch from exiting 2016-03-03 10:07:45 +00:00
Josh Barr
14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS
Thanks to @justinvdm for the help

Merges: #2275
2016-02-25 13:32:48 +00:00
Aarni Koskela
6f18c5ea0f Fix static asset building on Windows
Normalize all paths to have only forward slashes before mangling them.
2016-01-19 13:14:05 +00:00
Dave Cranwell
88341b782b removed unnecessary whitelist of sass files to compile. sass knows not to compile partials, which leaves all the _other_ files which it should compile 2015-12-04 10:54:38 +00:00
Dave Cranwell
7bc1c2485a mixins which only do prefixing removed in favour of depending more on autoprefixer 2015-12-02 14:55:06 +00:00
Dave Cranwell
5d43512c38 fixing rebase confusion 2015-11-23 21:39:56 +00:00
Dave Cranwell
fc980bd103 updated npm packages. ongoing linting of scss files 2015-11-23 21:39:54 +00:00
Matt Westcott
ed84057b07 static path for wagtail.contrib.settings should be 'wagtailsettings' to avoid name clashes 2015-10-23 11:33:48 +01:00
Matt Westcott
42af5c10af Merge branch 'merge-settings' of https://github.com/takeflight/wagtail into takeflight-merge-settings 2015-10-23 10:31:27 +01:00
Tim Heap
5d81269548 Add site switcher to header in settings 2015-10-21 16:39:09 +11:00
Matt Westcott
98e9b24ca0 Remove useless empty page-editor.js from wagtailforms 2015-10-09 20:12:21 +01:00
Karl Hobley
b08b7628fb Missing newlines 2015-07-09 12:36:34 +01:00
Dave Cranwell
109f1d799b added new gulpfile directory with modularised tasks 2015-06-04 17:44:08 +01:00
Dave Cranwell
10894e78a8 removed old gulpfile.js 2015-06-04 17:43:27 +01:00
Tim Heap
4614526416 Move require() calls out of gulp tasks 2015-05-01 08:53:05 +10:00
Tim Heap
2af8fdf8b6 Build assest as part of watching them 2015-05-01 08:53:05 +10:00
Tim Heap
37816f68cf Move all static assets to static_src, compile to static
The fonts were also relocated out of the `scss/fonts` directory to their
own `fonts` directory.

All the `static` directories are now ignored, and are completely
generated from the compilation process.
2015-05-01 08:53:04 +10:00
Tim Heap
ddebafa119 Remove libsass dependency, precompile CSS for distribution
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.

libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:

    $ pip install -e path/to/wagtail
    $ cd path/to/wagtail
    $ npm install
    $ npm start

All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.

Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00