Commit Graph

863 Commits

Author SHA1 Message Date
fiatjaf c995a6c74e title "Form Details" and a form description on every tab. 2018-09-02 01:44:22 +00:00
fiatjaf faa2cf5f80 move tabs down on forms dashboard. 2018-09-02 01:02:45 +00:00
fiatjaf e5b95ee8b4 fix bug on /account, don't run the react stuff everywhere. 2018-09-02 00:47:13 +00:00
fiatjaf c0e3a938cf Merge branch 'master' into develop 2018-09-02 00:17:18 +00:00
Cole 04f3e9d209
Update index.html
Tweak to page title
2018-09-01 17:59:04 -04:00
Cole e46ca2aa4e
improved on-page SEO (#193)
* improved on-page SEO
* Better copy for title
2018-09-01 16:47:51 -04:00
fiatjaf 270eb5e7e5 Merge branch 'dashboard-react' into develop 2018-08-30 14:27:38 +00:00
Giovanni T. Parra 5952be119b
Merge pull request #192 from fiatjaf/reduce-limit-to-100
Reduce base submissions limit to 100
2018-08-30 11:10:36 -03:00
fiatjaf c4626993ab update tests to use the new internal api. 2018-08-30 01:34:07 +00:00
fiatjaf b0f6b3fcbe change path from /api/ to /api-int/ 2018-08-30 00:49:38 +00:00
fiatjaf ac77c29ab7 clarify and test overlimit notifications code. 2018-08-29 22:08:00 +00:00
fiatjaf 8dbe4b7801 make flask-login return json errors instead of redirects when appropriate. 2018-08-29 19:30:04 +00:00
fiatjaf 4d332bdacb fix create-form notice for non-upgraded users. 2018-08-29 01:36:08 +00:00
fiatjaf 0fb8df565c add and adapt tests. 2018-08-22 15:22:20 +00:00
fiatjaf 57a52384ea copy and logic changes from @colevscode. 2018-08-22 12:06:33 +00:00
fiatjaf 62bec6f15b remove eslint config. 2018-08-20 18:46:18 +00:00
fiatjaf 236e08e595 only keep the maximum archives for upgraded forms. 2018-08-19 12:31:55 +00:00
fiatjaf 7bfc0cb723 use the correct monthly limit value in email templates. 2018-08-19 11:42:25 +00:00
Giovanni T. Parra e97d25fd60
Merge pull request #191 from fiatjaf/cleanup-unused-templates
Remove unused compiled email templates and remove warnings at app start.
2018-08-19 08:41:50 -03:00
fiatjaf 8417f27c9b change landing page copy to reflect config values. 2018-08-19 01:38:30 +00:00
fiatjaf 8eb9a5b14f grandfather the monthly submissions limit (1000) to all users up to a certain form id. 2018-08-19 01:38:30 +00:00
fiatjaf d1325aabf1 fix jinja2 tags premailer unescaping. 2018-08-19 01:19:54 +00:00
fiatjaf 34c37e4532 moving email template footer for a quick fix. 2018-08-19 00:59:04 +00:00
fiatjaf cc3c556189 actually using the in-memory compiled templates. 2018-08-19 00:49:09 +00:00
fiatjaf 7b4f1a78cd remove unused compiled email templates and remove warnings at app start. 2018-08-19 00:08:03 +00:00
fiatjaf 03aee1099a portal into the top menu to prevent reloads. 2018-08-18 19:23:29 +00:00
fiatjaf 6f8bf4e4e2 production builds on heroku. 2018-08-18 18:21:46 +00:00
fiatjaf 4c99559496 readd export buttons.
fix csv export mismatch between fields and records.
2018-08-18 15:52:13 +00:00
fiatjaf 0eb778d803 forms dashboard now entirely on react.
- setup js tooling (node modules and Makefile)
- setup prettier so js code can be standardized
- move js and scss source dirs around
- setup react and react-router, making them take control of
  /forms, /dashboard and /forms/<hashid> and so on
- remove all forms dashboard templates, moving their markup and logic to jsx
- remove unnecessary js code and rename submissions.scss to settings.scss
- create formspree/forms/api.py and move all actions created from the
  dashboard into there
- remove some bloat
2018-08-18 12:43:48 +00:00
fiatjaf 7ce164e945 fix unconfirm url typo in plain_form email template. 2018-08-06 13:08:14 +00:00
fiatjaf c48046cafa update Pipfile.lock 2018-08-06 13:01:13 +00:00
Giovanni T. Parra 93904b5a1b
Merge pull request #188 from fiatjaf/unconfirm-forms-2
unconfirm/unsubscribe from forms.
2018-08-06 09:51:45 -03:00
fiatjaf 6ff02e21ec copy suggestions from @colevscode. 2018-08-06 12:23:23 +00:00
fiatjaf a984d214c6 fix checkbox js when there's only 1 form left to be unconfirmed. 2018-08-05 21:06:54 +00:00
Rohit Datta 308d252cf8
fix the href replacing in jinja 2018-08-03 20:33:51 -04:00
Rohit Datta a0269a854f
fixed shadowing bug, can now send emails generated pre inline 2018-08-03 18:57:16 -04:00
Rohit Datta c74e5ab7c0
templating referencing with a shadowing bug 2018-08-03 18:53:37 -04:00
Rohit Datta 14f02953f7
progress on inlining on startup 2018-08-03 16:48:49 -04:00
fiatjaf 2a552f9158 unconfirm flow tests. 2018-07-30 13:39:43 +00:00
fiatjaf 596d6917e7 unconfirm/unsubscribe from forms.
- url_for(request_unconfirm_form) link on emails we send.
- clicking on that link shows a page that says a confirmation was sent.
- clicking on the confirmation link unconfirms the form.
- after unconfirming the form, a list of still confirmed forms for
  the given email address is shown, so the user can choose if he wants
  to unsubscribe from other forms.

for the final unconfirmation url, a <digest> is generated deterministically
from the form id (so form unconfirmation urls are secret, but can be reused).

for the unconfirm_multiple endpoint (after the first form is already
unconfirmed we use a flask.session, which lasts only for the given session.)

no recaptcha is employed anywhere.

     submission
  +-----------+
  |           |
  |           |
  |           |
  |           |  +
  |           |  |         +-----------------+
  +-----------+  |disable  |                 |
                 +------>  |                 |
                           |                 |
                           |    confirmation |
                           |    sent to your |
+---------------+          |    email        |
|               |          |                 |
|               |       +  +-----------------+
|   disable form|       |
|   at x for    | <-----+
|   address y?  |
|               |
|               |        +--------------------+
+---------------+        |                    |
                         |                    |
              +          |  disabled form x   |
              |          |  for address y     |
              |          |                    |
              |          |  do you want to    |
              |          |  disable these     |
              |          |  other forms?      |
              +------>   |                    |
                         |  a                 |
                         |                    |
                         |  b                 |
                         |                    |
                         |  c                 |
                         |                    |
                         |  all               |
                         |                    |
                         +--------------------+
2018-07-30 01:12:59 +00:00
Rohit Datta 0d869f1177
Merge pull request #187 from formspree/develop
Merge develop Into master
2018-06-15 18:41:39 -04:00
Rohit Datta dc33485899 update finnish 2018-06-15 22:28:28 +00:00
Rohit Datta cb5950bb29 decode payload request for python3 2018-06-15 22:28:28 +00:00
Rohit Datta d780a4bf21 bump celery versionto account for new dependencies 2018-06-15 22:28:28 +00:00
Rohit Datta 31ff497605 updated pipfile 2018-06-15 22:28:27 +00:00
fiatjaf 68fc558f26 bring back celery.conf.update
although it is not being used now, this is harmless
and it will be less confusing to just leave it there.
2018-06-06 00:26:05 +00:00
Rohit Datta 11fd896616
added formspree header img 2018-05-23 20:23:41 -04:00
Rohit Datta 264edb6714
updated link to tos and privacy 2018-05-17 21:30:37 -05:00
fiatjaf a62e7387f5 test send_downgrade_email.
normally called as a celery task, it is tested normally, synchronously.
2018-05-17 14:21:05 +00:00
fiatjaf 4d281c94e1 finish porting tests to pytest.
* removed httpretty dependency.
* some small python3-related fixes.
2018-05-17 14:13:25 +00:00