0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

76 Commits

Author SHA1 Message Date
talkshrey
7f7fd15831 docs - fix spacing added between -m and http command
- see #8257
2022-04-03 22:12:04 +10:00
Matt Westcott
5199df3a2a Fix some references to wagtail/test/manage.py 2022-03-25 15:03:03 -04:00
LB (Ben Johnston)
b2b18aa437
Update node installation instructions (#8154) 2022-03-17 21:30:44 +00:00
Karl Hobley
75cc7da38a Move wagtail.core to wagtail 2022-03-17 17:19:59 +00:00
Karl Hobley
0fd99886a2 Move tests to test 2022-03-17 17:19:59 +00:00
Thibaud Colas
d149a27392 Upgrade Storybook setup, with latest release, less boilerplate 2022-02-24 21:22:45 +10:00
sag᠎e
d191504e15
Update development instructions to use Node.js 16 (#8019) 2022-02-21 11:53:08 +00:00
Steve Stein
6382945a7b
Add ESlint & Stylelint to pre-commit hooks (#7931). Fix #7909
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-10 16:01:32 +00:00
Thibaud Colas
ee15eec511 Switch all Node tooling from Gulp to Webpack, with needed code changes
- Remove gulp code and docs
- Add base CSS & SCSS processing in Webpack
- Make sure Sass files use paths that can be resolved by Webpack
- Use faster source map generation
- Clean up build scripts
- Make sure Storybook can process Sass
- Switch away from web fonts (more work needed)
2022-02-01 07:36:17 +10:00
Thibaud Colas
aaab4ff0d5
Add missing backtick 2022-01-19 17:07:47 +00:00
Thibaud Colas
940fd1d041 Document full integration test steps 2022-01-15 21:44:36 +10:00
Thibaud Colas
1c2ef89957 Support changing which origin the integration tests are run on 2022-01-15 21:44:36 +10:00
Thibaud Colas
44fd1852ee Trial browser tests in CircleCI 2022-01-15 21:44:36 +10:00
Thibaud Colas
5a9761a70f Update browser support targets following UI team discussion
Small but important changes:

- We should always be testing in Windows, even if MS Edge is now available on macOS as well.
- We should make a better effort to support older Safari releases, as Safari is tied to OS updates, and device management isn’t always keeping up with releases
2022-01-14 11:31:58 +10:00
Matt Westcott
cf0ee13b49 Remove Python 3.6 support 2021-12-09 16:36:29 +00:00
LB Johnston
3e2012373a update documentation & 2.15 release to drop IE11 support
- update browserslist
- fixes #6170
2021-10-04 12:35:58 +01:00
Matt Westcott
37e19c3d71 Fix link to node.js download
https://nodejs.org/download/ just points to a directory listing now; the download link is now on the https://nodejs.org/ homepage, and there are no instructions to speak of.
2021-10-02 12:52:47 +10:00
Matt Westcott
f8f7f543b3
Update contributing docs to specify Node 14 2021-08-31 10:32:40 +01:00
Thibaud Colas
d2c27844a6 Update accessibility targets with links to known issues 2021-07-12 18:20:54 +01:00
Matt Westcott
b8680fbaf2 Give quoted and unquoted versions of pip install commands
Fixes #7312
2021-07-05 17:53:12 +01:00
Storm Heg
d3285e9f1b Quote pip install command in developing docs
Prevents it from failing with zsh: no matches found: .[docs]
2021-02-04 12:36:00 +00:00
David Beitey
3a5b7255ad Change UniqueConstraint for wider database support (#6607)
This fixes #6393 by modifying the constraint to use an IN condition
which supports both Postgres and SQL Server. Previously, the `|` (OR)
condition was only supported by Postgres because SQL Server only
supports AND conditions.

The implementation follows suggestions from @gasman in
https://github.com/wagtail/wagtail/issues/6393#issuecomment-732161057:

* Migration 0050 is modified to not break on SQL Server
* Added migration 0060 to add or replace the constraint

Additionally, this allows for and documents a `DATABASE_DRIVER` env
variable to be set for testing, to allow a different SQL Server driver
(e.g. FreeTDS on Mac/Linux); and adds the specific `host_is_server`
option for FreeTDS (won't affect SQL Server Native Client on CI).
2021-01-18 11:52:52 +00:00
David Beitey
3c3df689f7
Fix formatting in Development documentation (#6686)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-01-13 13:26:41 +00:00
David Beitey
67235accfc Improve database settings and docs for tests (#6585)
This change makes several improvements:

* Use in-memory SQLite database for test migrations

  The default database is SQLite but its NAME (which SQLite uses as the
  filename) was `wagtail`, which isn't valid since
  the wagtail codebase already has a `wagtail/` directory.  Trying to
  run migration creation commands
  (https://docs.wagtail.io/en/latest/contributing/developing.html#running-migrations-for-the-test-app-models)
  produced an error:

  django.db.utils.OperationalError: unable to open database file

  because of this conflict.

  This change uses an in-memory database as the default database for
  tests. If DATABASE_NAME were set to a real file name, then
  running the migration command with SQLite creates an empty db with
  this filename on running `django-admin`.

  Other non-SQLite engines continue to use the original `wagtail` name,
  meaning that the `test_wagtail` database gets created just as before.

* Modifies the default values for database USER, PASSWORD, HOST etc to
  being an empty string rather than None, to match Django's
  [defaults](https://docs.djangoproject.com/en/stable/ref/settings/#host).
  This helps avoid any potential issues when Django and database engines
  are expecting this being a string.

* Adds documentation to `developing.rst` regarding installation of
  required database modules and available environment variables for database
  connection customisation

* Normalises the DATABASE_PASSWORD tests environment variable to match
  the name in Django's database settings object
2020-12-09 15:28:44 +00:00
Frantisek Holop
07a4b41444 deprecated 2020-10-05 14:23:50 +01:00
Karl Hobley
39d931d77d Javascript => JavaScript 2020-10-03 14:43:03 +01:00
Jesse Menn
b934194622
Make page-level actions accessible to keyboard users in page listing tables (#6280)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-08-01 21:52:28 +01:00
Jim Jazwiecki
6ea0cc52f3 Upgrade to Gulp v4 & Node 10
* Syntax changes to get Gulp working
* Require Node 10, use node 10 in CircleCI and squash.yml
* Update docs
* resolves #5653
2020-05-01 12:01:03 +10:00
LB
78e3c5964d Docs & readme - remove references to now closed developers forum
- remove references to https://groups.google.com/forum/#!forum/wagtail-developers
- add references to the Wagtail slack workspace
2020-04-20 16:27:14 +01:00
Thibaud Colas
676503023d
Mention docker-wagtail-develop in developing docs (#5820)
Based on discussion in #bristol-sprint on Slack. See also https://github.com/wagtail/vagrant-wagtail-develop/pull/25.
2020-02-12 14:11:40 +01:00
Martey Dodoo
229103ff2e Update links in documentation. (#5689)
Use HTTPS links instead of non-secure HTTP links wherever possible in
documentation.
2019-11-08 09:15:01 +00:00
Matt Westcott
3e98563340
Drop support for Django 2.0 (#5684) 2019-11-06 17:05:04 +00:00
Thibaud Colas
15a8907e44 Document partial focus outline support in IE11 2019-05-28 11:53:26 +01:00
Thibaud Colas
effb0866b4 Update accessibility-related docs to clarify tools usage and reflect feedback 2019-04-29 13:55:41 +01:00
Thibaud Colas
e78d1c5410 Document accessibility targets and browser extensions to use 2019-04-29 13:55:41 +01:00
Thibaud Colas
374d35f945 Add linkable sub-sections to Testing in development docs 2019-04-29 13:55:41 +01:00
Matt Westcott
3134ffa119 Recommend npm install --no-save when setting up node toolchain (#5161)
Running `npm install` without `--no-save` can introduce spurious changes to package-lock.json due to differences in platform / node version, and these have been known to accidentally sneak into people's PRs. `npm install` without `--no-save` should only be used when actively updating node dependencies in package.json.
2019-03-21 20:41:14 +00:00
Benjamin Bach
5b0f2e1a54 First positional argument for tox as test module/case path 2018-10-30 12:16:45 +00:00
strotherscott
c5357dd271 second attempt ro clarify issue #4620 2018-06-18 15:04:41 +01:00
Thibaud Colas
4803ad1c43 Add IE11 opt-out of rich text pasting, and documentation notes 2018-01-17 22:16:35 +02:00
Matt Westcott
ff0daf074d Add line break to makemigrations code snippet 2017-11-27 01:11:09 +00:00
Karl Hobley
4300e19da2 Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
LB (Ben Johnston)
ebc423e91a Add instructions on how to do test app migrations
Previously answered [here](https://github.com/wagtail/wagtail/pull/4024#issuecomment-345267222) and [here](https://groups.google.com/forum/#!msg/wagtail-developers/P6x9N5qzq-I/0gbRzWgBBgAJ). Just adding this into these docs for future contributors.
2017-11-19 09:08:01 +00:00
Matt Westcott
5f382d8784 Remove Python 2 references from docs 2017-10-13 12:24:42 +01:00
Matt Westcott
c80bbfcc5f Eliminate references to wagtaildemo from the docs
bakerydemo is now our preferred demo site and the one which will be updated for Wagtail 2.x / Django 2.x.
2017-10-11 16:58:30 +01:00
Thibaud Colas
91490566c2 Replace references to Node versions 2017-08-11 15:40:43 +01:00
Patrick Gerken
50a16c37db Make installing deps more stable
The old syntax works with bash, but not with zsh. The new syntax works with both.
2017-03-23 18:04:20 +01:00
Thibaud Colas
1e3548e671 Add browser support targets in contributing guidelines 2017-02-20 20:46:40 +00:00
Daniel Chimeno
f70226c845 add way of autocompile documentation 2017-02-20 20:24:17 +00:00
Janneke Janssen
493a30bcf9 Add nvmrc to the project and updated developing docs 2017-02-20 11:14:33 +01:00