Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
Tibor Leupold 6a31888508 Git ignore compiled frontend files 2022-10-10 12:24:07 -07:00
Tibor Leupold 5d1dbf6915 Ignore vim directory 2022-06-16 16:38:20 -07:00
Pomax fc4cca94a6
Replace cypress with playwright (#7999)
* Rebase

* ths is not great

* let's forget cypress

* pip compile lock

* .

* so many workflows

* helps to run the server when doing visual CI

* yay typoes

* tailwind kind of needs to work

* percy action is now obsolete

* force actions to kick in again

* fix yml

* update percy exec

* see https://github.com/percy/cli/discussions/634

* fix test

* Update urls.spec.js

Co-authored-by: Pomax <pomax@MacBook-Pro.hitronhub.home>
2021-12-13 13:15:54 -08:00
Rich Brennan 1af2ee5f6d
[7735] override wagtail-metadata template to exclude meta title (#7816)
* [7735] override wagtail-metadata template to exclude meta title

* [7735] remove blank line from wagtail meta template

Co-authored-by: Pomax <pomax@nihongoresources.com>
2021-11-15 10:34:07 -08:00
Pomax 37bae9af39
create a database copying script (#7522)
* create a database copying script

* Update local_development.md

* Update copy-db.js

* Update copy-db.js

* Update copy-db.js

* Update copy-db.js

* Update copy-db.js
2021-10-04 14:16:37 -07:00
Simon Fessehaye f770d8186f Added endofline settings to workspace 2021-06-29 12:24:59 -06:00
Pomax 230da745c7
Add caching to RSS/Atom feeds (#6546)
* .

* tryceptance

Co-authored-by: Kalob Taulien <4743971+KalobTaulien@users.noreply.github.com>
2021-04-19 11:33:40 -06:00
Lucie Daeye 07e2fbfeec fix merge conflict 2020-05-13 10:06:09 +02:00
Christopher DeCairos 0d0e2788f3 Enable Debugging in VSCode using ptvsd 2020-05-06 21:31:10 +00:00
Lucie Daeye 5fdcb9ce53 add doc + deps update 2020-04-17 14:07:21 +02:00
Lucie Daeye 9bab6bb391 setup piptools for local dev 2020-04-16 15:44:02 +02:00
Lucie 4103337b96
Add instructions to download translations (#4237)
Co-authored-by: Pomax <pomax@nihongoresources.com>
2020-02-21 11:46:19 +01:00
Pomax 7a295d0fff
Axe core setup rebased (#4197)
* added Axe based testing using Cypress
2020-02-20 15:01:59 -08:00
Théo Chevalier 6391f63a84
Add helper command to extract strings to an external repo (#4199)
* Add helper command to extract strings to an external repo

* Fix path

* Delete local .po/.pot

* python linter errors

* Lucie’s feedback

* Ignore localized .ftl files

* Update translation-management.sh

* Document the string extraction process

* Update README.md

* Update .gitignore

* Add buyersguide about section

* Update path in fomo-l10n repo

* remove pt migrations

* update post_compile step to download translations from S3 instead of running compilemessages

Co-authored-by: Lucie <lucie.daeye@gmail.com>
2020-02-19 15:53:44 +01:00
Pomax 747cdfa824
Template localization (#3529)
* Localize Django templates
2019-11-14 11:18:26 -08:00
Lucie b422098368
Add support for using Docker for local development (#3002)
* Add Docker support for local dev

* remove those terrible flags from our invoke commands

* Change recursive call in invoke commands and don't expose port for postgres

* Add note about Docker download direct links and how tu run in detached mode

* Add CHOKIDAR_USEPOLLING so that auto rebuild works on windows machines

* Add Docker support for local dev

* remove those terrible flags from our invoke commands

* Change recursive call in invoke commands and don't expose port for postgres

* Add note about Docker download direct links and how tu run in detached mode

* Add CHOKIDAR_USEPOLLING so that auto rebuild works on windows machines

* removing trailing commas

* Move to python 3.7

* add missing lockfile
2019-04-25 08:39:52 +02:00
Pomax 54bc792de0
Add Cypress visual testing (#2471)
* add the travis-encrypted PERCY_TOKEN value pair, and a database bootstrap as part of the test setup
2019-01-21 11:11:50 -08:00
Christopher DeCairos a123431061
Wagtail data (#1509)
* WIP

* Generate pages for wagtail, and generate a superuser login for review apps

* modify review_app_user command to not throw

* delte CTAs in flush_models, lower the number of output sentences for description_faker

* code style fix

* update README

* Update deployment steps to reflect new scripts

* fix bad reference to manage.py in postdeploy heroku script

* Bump Django to 1.11.13

* Fix grammar in the README

* Further README fixes

* remove unnecessary try-except from flush_models

* generate Homepage highlights and news, add some missing pages

* fix code style

* Wrap single/multi page generation in try-except blocks to prevent trying to create duplicate pages. Delete Highlight records when flushing models

* Call build instead of create when generating featured news and highlights so the factories don't automatically generate new homepages
2018-05-10 17:08:55 -04:00
gavin lazar suntop ee4deeccb9
removing legacy JSON and related scripts (#1472) 2018-04-27 14:10:07 -07:00
gavin lazar suntop 879cc765a6
Nuke Pug (#1468)
* adding base-compiled.html

* removing pug tasks

* removing pug bits

* pj bump

* readme update

* removing pug rule

* deprecated keyword

* wagtail
2018-04-27 10:17:12 -07:00
gavin lazar suntop 78ef682cdb
Share base template for opportunity and campaign pages (#1053)
* basic master template

* compiling shared base template for django pages

* fixups

* readme update
2018-02-13 13:15:23 -08:00
Alan Mooiman bfc4d8a7f9
Campaign pages and petition (#1007)
YOLO


* campaign clone stub

* template test

* initial jsx hooking

* Reposition petition form (#997)

* Petition markup update

* petition <-> jsx bridging

* Change default signup newsletter (as per Steph M)

* Satisfy Travis

* Fix flake

* First bit of changes (#999)

* Small fixes

* restore campaign hero graphic (#1001)

* OOps (#1002)

* Change url of api post call

* petition refactors and UI switching based on state

* added unrecoverableError case

* usecase render fixes

* hints for testing

* split off thank you/unrecoverable for ease of work

* proper thank you, still missing true share link

* restored header, set default values

* made models.Petition.header optional

* bad error text refinement

* Clean up petition markup

* Add backend petition signup logic

* Push petitions to sawmill

* manage test fixes

* flake8

* lint fixes

* Change gform fields

* Isolate SQS env vars

* Remove use_ssl

* processFormData should accept an argument named 'event'

* Squash migrations

* Migration ninja-edit

* move the SQS Queue URL setting

* add SQS variables to env.default

* Update GA categories
2018-01-25 21:52:06 -05:00
gavin lazar suntop d229595c30
removing env.json and refactoring for standard .env consumption (#888)
* removing env.json and refactoring for standard .env consumption

* removing env build task

* removing build as precursor to tests

* adding build env to CI

* add run build back to test
2017-11-06 13:19:56 -08:00
gavin lazar suntop 2b9cc005d4
fixing ignore path (#889) 2017-11-06 09:38:01 -08:00
Lucie 1ca8ed7616
remove the 'app' directory (#867)
* remove the 'app' directory

* small fix

* fix tests issue
2017-11-06 18:01:38 +01:00
gavin lazar suntop d116876067
removing and ignoring compiled landing page template - closes #881 (#883) 2017-11-02 16:06:56 -07:00
Christopher DeCairos dc87f4df20 Add a management command that loads data from a fixture. (#783)
* Add a management command that loads data from a fixture.

The management command "heroku_release" will run automatically on heroku if the "LOAD_FIXTURE" environment variable is set to true

* Issue the correct management command

* remove crufty Procfile

* fix lint issues

* fix up Procfile

* 1. Clean up network-api folder
2. Update README.md with information about the django app, including mock data instructions
3. add app.json for review apps
4. modify some of the react components to fall back on `HEROKU_APP_NAME` so that Review apps will work without manual intervention

* remove cruft from env.default

* Forgot that the app name needed to be transformed into a domain

* fixing lint problems

* remove unused import

* Fix typo in people.jsx, use protocolless urls on people, news, upcoming, and main.js xhr requests, update readme

* add trailing slash to homepage api request

* Rename NETWORK_API_DOMAIN to NETWORK_SITE_URL and update how it's used.

* update environment whitelist for NETWORK_SITE_URL

* Pass the request as a context to HomepageSerializer, so it can be passed on to News, Person, and Highlight Serializers
2017-10-12 17:05:09 -04:00
gavin lazar suntop 41e3253418 Adding back package-lock (#628)
* allowing package lock

* adding back package lock

* package lock updates
2017-08-31 13:09:12 -07:00
gavin lazar suntop bf289be71f nuking package-lock.json from orbit (#535) 2017-06-19 14:48:37 -07:00
gavin lazar suntop 79af552186 Refactoring env system (#355)
* removing old json based env

* adding basic env generation/merge task

* refactoring npm tasks to be DRY-er and to build env

* changing root virtual syntax

* refactoring json fetch to use new env system

* adding docs

* generating pretty json
2017-04-27 14:57:35 -07:00
Gavin Lazar Suntop e38a4b0c61 adding static pulse project to home 2017-02-16 16:32:45 -08:00
Gavin Lazar Suntop 18441d4a3d tweaks 2016-12-16 16:55:21 -08:00
Gavin Lazar Suntop 95f42a2be1 initial scaffold – based on staticseed 2016-12-16 14:56:41 -08:00