Paulo Reis
042c959d3a
Move default email checking logic into the data service.
2018-08-20 12:15:15 +01:00
Paulo Reis
47c51257bb
Explicitly set the user default email for the delete account modal controller.
2018-08-20 11:51:12 +01:00
Jessica Lawshe
5b5ece37a5
Handle sixpack timeouts and include variant in metabase segmentation
...
Render default when sixpack timesout
Only convert when variant exists
Use Angular cookies module to add variant cookie, which is used on the new subscription page.
2018-08-17 10:29:45 -05:00
Jessica Lawshe
356e31caec
Set variant when sixpack request successful
2018-08-17 09:07:34 -05:00
Alasdair Smith
bd94e55ce9
Handle archive and leave action
2018-08-13 14:25:38 +01:00
Alasdair Smith
009c5c363b
Also fix modal body for archiving projects
2018-08-13 14:25:38 +01:00
Alasdair Smith
5836c029c8
Show archive heading if archiving and on OL
2018-08-13 14:25:38 +01:00
James Allen
7dc82597e1
Merge pull request #765 from sharelatex/ja-update-email-in-v1
...
Update email in v1 when setting as default in v2
2018-07-26 10:58:57 +01:00
Jessica Lawshe
b9a63fe216
Merge pull request #768 from sharelatex/jel-mathjax-wiki
...
Add MathJax to wiki pages and max-width for images
2018-07-17 09:37:28 -05:00
Jessica Lawshe
ddca090cd7
Add Wiki controller with MathJax directive
2018-07-17 09:09:07 -05:00
James Allen
4435eab423
Update affiliations UI to show specific errors for conflicting emails
2018-07-17 11:12:47 +01:00
James Allen
d7e0b8c369
Show unconfirmed email status in UI and add link to resend confirmation
2018-07-12 17:13:26 +01:00
Paulo Reis
67e2f6f942
Better handling of affiliation change submission.
2018-07-12 16:37:09 +01:00
Paulo Reis
59008b4a51
Show university custom departments when changing affiliations; fix Features typo.
2018-07-12 16:37:09 +01:00
Paulo Reis
a759828ece
Update feature flag for affiliations; use it in the router; minor style adjustments.
2018-07-12 16:37:09 +01:00
Paulo Reis
4d1b6c6ba8
Add error handling.
2018-07-12 16:37:09 +01:00
Paulo Reis
c630c5d952
Preemptively remove front-end data when removing user emails.
2018-07-12 16:37:09 +01:00
Paulo Reis
19b57571bf
Basic affiliation change implementation.
2018-07-12 16:37:08 +01:00
Paulo Reis
a64910d409
Make sure to specify which email to set as default.
2018-07-12 16:37:08 +01:00
Paulo Reis
1514e5e071
Isolate affiliations form in a component.
2018-07-12 16:37:08 +01:00
Paulo Reis
d021cd8e3f
Add role hints and deparment hints (when not provided by the uni).
2018-06-28 16:37:36 +01:00
Paulo Reis
522084a504
Add Keys enum; use it when detecting keystrokes in the input suggestions component.
2018-06-27 12:21:26 +01:00
Tim Alby
60009c6346
fix delete endpoint
2018-06-26 19:50:12 +02:00
Paulo Reis
3e0ad47873
Avoid suggesting blacklisted emails as university domains.
2018-06-26 16:50:55 +01:00
Paulo Reis
76d8ab11e5
Make sure we infer the university when the user finishes typing his email.
2018-06-26 16:18:53 +01:00
Paulo Reis
70b3df5a0e
Remove logs.
2018-06-25 17:32:39 +01:00
Paulo Reis
8ac6f4d6f4
Use v1 proxy; even more style adjustments.
2018-06-25 16:13:43 +01:00
Paulo Reis
b92dc98b99
Merge branch 'master' into pr-user-affilitations
2018-06-25 14:13:26 +01:00
Paulo Reis
00dfcf66c6
More styling adjustments.
2018-06-25 13:44:43 +01:00
Paulo Reis
9bc70d479c
Use university-provided list of departments when available.
2018-06-22 11:24:14 +01:00
Paulo Reis
62ab9dbb98
Rearrange layout to have the new affiliation form within the affiliations table.
2018-06-21 17:18:01 +01:00
Paulo Reis
147d74d92a
Integrate e-mails table with backend.
2018-06-20 14:22:06 +01:00
Paulo Reis
917776aede
Change the UI to gradually show needed fields for affiliations.
2018-06-20 11:37:55 +01:00
Paulo Reis
c0241df15c
Rewrite service and controller code to send the correct payload according to use case (no uni; known uni; new uni).
2018-06-19 17:10:55 +01:00
Jessica Lawshe
ad50db858e
Merge pull request #664 from sharelatex/jel-pricing-plans-event
...
Plans and Pricing Google Analytics events
2018-06-19 08:48:12 -05:00
Jessica Lawshe
3de1721aa2
Send event to Google Analytics when variant selected
2018-06-15 16:11:45 -05:00
Paulo Reis
5ada231d15
Add basic affiliations styles, data services and controller.
2018-06-15 11:33:47 +01:00
James Allen
f7532e5854
Merge pull request #619 from sharelatex/afc-email-tokens
...
Use emails with tokens for team invites
2018-06-12 08:30:23 +01:00
Jessica Lawshe
d57660aeb5
Merge pull request #632 from sharelatex/jel-plans-pricing-fix
...
Plans and Pricing fixes
2018-06-08 07:17:28 -05:00
Alberto Fernández Capel
59688efb56
Merge remote-tracking branch 'origin/master' into afc-email-tokens
2018-06-08 12:21:17 +01:00
Jessica Lawshe
6c92238f37
Fix analytics event label for when shouldABTestPlans: false
2018-06-07 10:30:21 -05:00
Alberto Fernández Capel
5e70825c94
Rename view variable to invite
...
Makes the meaning more explicit
2018-06-07 16:12:02 +01:00
Alasdair Smith
3fa6f4743d
Merge pull request #637 from sharelatex/as-fix-clone-owner
...
Set the owner object to the current user when cloning a project
2018-06-07 11:54:09 +01:00
Alasdair Smith
4a1c2cf0e0
Set cloned project's owner to current user
...
Fixes a bug where cloning a project then selecting to delete it, the wrong
button for deletion is shown (leave instead of archive/delete). This is
because we are using the owner object (which was undefined after cloning) to
determine which button to show
2018-06-07 11:19:11 +01:00
Alasdair Smith
8f71b104c5
Fix bug where unowned project would show archive quick action instead of leave
...
If the user does not own the project, the project can only be left, not
archived. Previously the quick action button was only showing the archive icon
but clicking the button would correctly leave the project. This is confusing,
so this commit corrects to show the leave icon for projects not owned by the
current user
2018-06-06 16:59:13 +01:00
Alberto Fernández Capel
6fb6119ca8
Merge remote-tracking branch 'origin' into afc-email-tokens
2018-06-05 15:42:17 +01:00
Jessica Lawshe
b1c988e4c1
Add hover and scroll events
2018-06-04 14:42:26 -05:00
Jessica Lawshe
10cf5825a5
Add plans variant
...
Also, fix for multiple quotes. Without a closing quote subsequent quotes are considered nested, and
will use a ‘ instead of “
Also, move repeated elements to partials
2018-06-04 14:42:26 -05:00
Alasdair Smith
7898a1deca
Fix missed snake_case to camelCase, causing bug where projects couldn't be restored
2018-06-04 10:45:23 +01:00
Alberto Fernández Capel
25d7196570
Merge remote-tracking branch 'origin/master' into afc-email-tokens
2018-06-01 16:49:47 +01:00