Commit graph

1502 commits

Author SHA1 Message Date
Henry Jameson
a17ac74df7 revert that, it's actually used, i'm an idiot 2018-12-11 02:05:22 +03:00
Henry Jameson
90a5670661 removed unused function from color_convert 2018-12-11 01:41:19 +03:00
Henry Jameson
73aa9153d9 cleanup 2018-12-11 01:40:19 +03:00
Henry Jameson
4b25475b57 setColors -> applyTheme. For sanity. Also disabled export because nobody uses it
and should not use anyway.
2018-12-11 01:39:18 +03:00
Henry Jameson
fe2fe09236 fixed v2 setting as default theme 2018-12-11 01:38:20 +03:00
Henry Jameson
3452864260 Merge remote-tracking branch 'upstream/develop' into feature/theming2
* upstream/develop:
  Fix color fallback order
  Use console.warn instead of console.log
  Get rid of mutation_types file, use inline approach. Minor fixes
  Add fallback color rule.
  Change english validation error messages
  Clean up the code
  Validate name presence on client-side as well
  Better styling for client-side validation. Add I18n for validation errors.
  Fix broken ToS link. Fix linter errors
  Add client validation for registration form
  Use Array.reduce instead of lodash.reduce
  Humanize validation errors returned on registration
  Added user option to hide instance-specific panel, rearranged config screen to better categorize it / adjustments to language selector
  fix
2018-12-11 01:01:16 +03:00
Henry Jameson
aeecd2b09b separate font control js 2018-12-11 00:56:15 +03:00
Egor Kislitsyn
ee70ec4c7e fix race condition 2018-12-10 22:36:25 +07:00
Rinpatch
6a00854189 Count in binary bytes and remove i18 from file size format service 2018-12-10 17:06:32 +03:00
Rinpatch
88145c5934 Add a space between filesizes 2018-12-10 10:04:42 +03:00
Rinpatch
5c7a316df9 Lint 2018-12-10 09:56:07 +03:00
Rinpatch
c69a8dc197 Add file size formating 2018-12-10 09:50:04 +03:00
Maxim Filippov
ae8f0f36d8 Use "~" as a route namespace symbol 2018-12-10 01:21:52 +03:00
Egor Kislitsyn
73b17d70ec improve push notifications code 2018-12-09 19:25:43 +07:00
rinpatch
4fde987e34 Fix formating 2018-12-08 22:39:58 +01:00
rinpatch
f69331e49d Improve error messages 2018-12-08 22:36:54 +01:00
rinpatch
788383d8a1 Make uploadlimit an object that stores upload limits for avatars, banners, backgrounds, general content 2018-12-08 21:56:00 +01:00
Rinpatch
ba188eddab [pleroma#36] Add upload errors 2018-12-08 18:23:21 +03:00
lambda
fb5261b926 Merge branch 'hideISP' into 'develop'
Add user configuration option to hide instance-specific panel

Closes #196

See merge request pleroma/pleroma-fe!402
2018-12-08 10:05:16 +00:00
Egor Kislitsyn
11716a7a53 second attempt to add subscribe module and fix race condition 2018-12-07 20:13:36 +07:00
Egor Kislitsyn
a85d128d37 Revert "add subscribe module and fix race condition"
This reverts commit 07f1b8523e.
2018-12-07 18:53:40 +07:00
Egor Kislitsyn
07f1b8523e add subscribe module and fix race condition 2018-12-07 18:13:04 +07:00
Egor Kislitsyn
264da19f69 fix typo 2018-12-07 15:21:19 +07:00
Egor Kislitsyn
bbae2e10f3 Add configuration to enable/disable web push notifications 2018-12-07 15:15:31 +07:00
Egor Kislitsyn
ebe2a95140 improve web push notifications 2018-12-07 14:57:35 +07:00
Maxim Filippov
c1dc69a038 Pass userName instead of userId 2018-12-06 22:10:46 +03:00
Maxim Filippov
7d5794b9fa Fix redirect paths 2018-12-06 22:10:46 +03:00
Maxim Filippov
54c6438b17 Fix typo 2018-12-06 22:09:54 +03:00
Maxim Filippov
eb4cd64152 Fix avatar styles 2018-12-06 22:09:54 +03:00
Maxim Filippov
6532462b95 Move old routes to /p, use /nickname for user profiles 2018-12-06 22:09:54 +03:00
Maxim Filippov
79d864c3f2 Move routes to the separate file -> make it testable 2018-12-06 22:09:54 +03:00
Egor Kislitsyn
09147cacea add service worker and push notifications 2018-12-06 20:34:00 +07:00
raeno
8987c3025d Fix color fallback order 2018-12-05 23:35:15 +04:00
raeno
e3d0917db8 Use console.warn instead of console.log 2018-12-05 23:13:08 +04:00
raeno
a3e19cbafa Get rid of mutation_types file, use inline approach. Minor fixes 2018-12-05 23:07:58 +04:00
raeno
636be3b681 Add fallback color rule. 2018-12-05 23:05:43 +04:00
raeno
c03cc3ae83 Change english validation error messages 2018-12-05 20:29:59 +04:00
raeno
f1d1fd64d3 Clean up the code 2018-12-05 20:19:39 +04:00
raeno
91a72d51ff Validate name presence on client-side as well
* remove email address validation, we have it covered by html itself and it's quite annoying
* add shakeError animation
* fix styles a bit
2018-12-05 19:42:33 +04:00
raeno
f9ff839b1a Better styling for client-side validation. Add I18n for validation errors. 2018-12-05 19:17:29 +04:00
Henry Jameson
403c86e4d1 back button for mobile 2018-12-05 15:01:56 +03:00
raeno
2b903f790d Fix broken ToS link. Fix linter errors 2018-12-05 13:47:42 +04:00
raeno
0029313775 Add client validation for registration form
* also extract registration logic to users.js module
2018-12-05 13:44:12 +04:00
raeno
02e000b53e Use Array.reduce instead of lodash.reduce 2018-12-05 13:44:12 +04:00
raeno
822559afd8 Humanize validation errors returned on registration 2018-12-05 13:44:12 +04:00
Henry Jameson
6636c0f551 mobile fixes 2018-12-05 12:01:24 +03:00
Henry Jameson
47b0b385f4 Added user option to hide instance-specific panel, rearranged config screen to
better categorize it / adjustments to language selector
2018-12-05 11:37:01 +03:00
Henry Jameson
c241de4634 fix 2018-12-05 10:51:11 +03:00
Henry Jameson
51cf4dc298 Merge remote-tracking branch 'upstream/develop' into feature/theming2
* upstream/develop:
  Fix iOS Safari from making videos play fullscreen by default
  added PR comments
  resolved the lint
  used the deleted data param as condition in status template
  Switch to "timeline" when pressing user-settings
  Added user setting tooltip
  made links in user bio always open in new tabs
  addressed PR comments
  added tooltip
  Add userId property to timelines so that we don't overwrite user timeline meant for another user
  Added option to auto-hide subject field when it's empty.
  removes hacks from notifications storage, adds api call to let server update is_seen attribute
  fixes vimium not giving retweet button a hint
  Do not use underscore at the beginning of the method
  Logout user on password change
  Route user to the correct profile URL
  Typo
  Fix filetype detection
  Switch to settings when touching settings
  Switch to timeline on nav panel actions
2018-12-05 10:43:03 +03:00
Henry
9143862707 Merge branch 'fix/user-settings-switch' into 'develop'
Switch to "timeline" when pressing user-settings

See merge request pleroma/pleroma-fe!397
2018-12-05 07:34:27 +00:00
Mark Felder
75879621b1 Fix iOS Safari from making videos play fullscreen by default
This works in iOS 10+.
2018-12-04 17:05:38 -06:00
ValD
57366ff0cc added PR comments 2018-12-05 00:38:53 +05:30
ValD
88aa0f1245 resolved the lint 2018-12-05 00:19:00 +05:30
ValD
da3adff5a8 used the deleted data param as condition in status template 2018-12-05 00:15:08 +05:30
eal
5eced8bf09 Switch to "timeline" when pressing user-settings 2018-12-04 18:24:31 +02:00
lambda
f146562d70 Merge branch 'target_blank_profile' into 'develop'
Made links in user bio always open in new tabs

Closes #169

See merge request pleroma/pleroma-fe!394
2018-12-04 12:10:35 +00:00
ValD
ea4fafb27e Added user setting tooltip 2018-12-04 15:24:01 +05:30
Henry Jameson
ca19025187 Added support for async following including delayed confirmation if we followed
user or not
2018-12-04 12:50:29 +03:00
Henry Jameson
6d6d1102d9 made links in user bio always open in new tabs 2018-12-04 11:38:00 +03:00
Henry Jameson
8b1e1b182a throttle fetching old statuses to prevent spam, especially during scroll 2018-12-04 11:04:46 +03:00
Henry Jameson
7a13c530c7 Merge remote-tracking branch 'upstream/develop' into search-mobile-fixes
* upstream/develop:
  addressed PR comments
  added tooltip
  Add userId property to timelines so that we don't overwrite user timeline meant for another user
  Added option to auto-hide subject field when it's empty.
  removes hacks from notifications storage, adds api call to let server update is_seen attribute
  fixes vimium not giving retweet button a hint
2018-12-04 09:56:45 +03:00
ValD
c142f7b7b6 addressed PR comments 2018-12-04 00:45:31 +05:30
ValD
c40bda7c2a added tooltip 2018-12-04 00:45:31 +05:30
lambda
b851b8dd02 Merge branch 'fix-vimium' into 'develop'
fixes vimium not giving retweet button a hint

Closes #166

See merge request pleroma/pleroma-fe!385
2018-12-03 17:56:21 +00:00
lambda
9e78eddf2a Merge branch 'subject-line-entry-auto' into 'develop'
Added option to auto-hide subject field when it's empty.

Closes #174

See merge request pleroma/pleroma-fe!388
2018-12-03 14:55:43 +00:00
lambda
ea28aa62f0 Merge branch 'ss-read' into 'develop'
Server-side read marking

See merge request pleroma/pleroma-fe!386
2018-12-03 14:47:27 +00:00
Henry Jameson
ccb1682379 Add userId property to timelines so that we don't overwrite user timeline meant
for another user
2018-12-03 09:29:33 +03:00
Henry Jameson
6b3489a4d3 search button for user finder 2018-12-03 08:03:11 +03:00
Henry Jameson
ea805bbbe6 hide logo when opening search bar on small screens 2018-12-03 07:49:14 +03:00
Henry Jameson
b34097a5c1 Added option to auto-hide subject field when it's empty. 2018-12-03 06:47:35 +03:00
Henry Jameson
e95b6c7e53 fix 2018-12-02 15:20:25 +03:00
Henry Jameson
fad19c3c2f fix 2018-12-02 15:10:18 +03:00
Henry Jameson
dd4deae66e fallback for some weird case on my phone 2018-12-02 15:03:51 +03:00
Henry Jameson
b555d617e4 removes hacks from notifications storage, adds api call to let server update
is_seen attribute
2018-12-02 13:36:11 +03:00
Henry Jameson
8174248b98 fixes vimium not giving retweet button a hint 2018-12-02 13:05:18 +03:00
Henry Jameson
d756455c34 todo 2018-12-02 12:56:02 +03:00
Henry Jameson
1e56cec2aa missing string 2018-12-02 10:23:41 +03:00
Henry Jameson
80c0745558 some more themes, fixes 2018-12-02 10:22:25 +03:00
Henry Jameson
67ca21b2e6 localization strings, fixes 2018-12-02 09:38:40 +03:00
Henry Jameson
bee738c815 making inset shadows work on avatars again 2018-12-02 08:47:55 +03:00
Henry Jameson
77ac42d919 fix retweeter avatar not getting proper shadow 2018-12-01 14:59:22 +03:00
lambda
e15b9bddbb Merge branch 'file-type-service-fix' into 'develop'
Modify filetype service to accept more generic mimetypes

See merge request pleroma/pleroma-fe!381
2018-12-01 08:35:51 +00:00
lambda
ff60a9e631 Merge branch 'fix/user-search-profile-link' into 'develop'
Fix user search profile link

See merge request pleroma/pleroma-fe!382
2018-11-30 19:51:50 +00:00
lambda
fdd8cb619a Merge branch 'logout_on_password_change' into 'develop'
Logout user on password change

Closes #185

See merge request pleroma/pleroma-fe!384
2018-11-30 19:49:48 +00:00
lambda
7d12a65b3b Merge branch 'fix/switch-to-timeline-on-mobile' into 'develop'
Switch to timeline view on mobile when clicking relevant actions

See merge request pleroma/pleroma-fe!383
2018-11-30 19:49:09 +00:00
raeno
59b84c2a06 Do not use underscore at the beginning of the method 2018-11-30 18:53:59 +04:00
Henry Jameson
406df4399b avatars shadows, also allows drop-shadow use 2018-11-30 16:39:53 +03:00
raeno
0c3cd05965 Logout user on password change 2018-11-30 17:30:55 +04:00
Maxim Filippov
bee6a0273b Route user to the correct profile URL 2018-11-28 19:24:50 +03:00
Maxim Filippov
21b600d5e1 Typo 2018-11-28 19:24:19 +03:00
rinpatch
cddb173089 Fix filetype detection 2018-11-27 18:44:49 +03:00
Henry Jameson
b45fc6c652 updated preview window 2018-11-27 05:01:18 +03:00
Henry Jameson
f8e17cbdc5 lint fix 2018-11-27 05:01:18 +03:00
Henry Jameson
2ebc06e30f fixed keep checkboxes working when exporting 2018-11-26 21:07:22 +03:00
Henry Jameson
f039b79e5a unbreak user profiles 2018-11-26 20:25:14 +03:00
Henry Jameson
d64f4ab363 fix preview input text using wrong string 2018-11-26 20:14:53 +03:00
Henry Jameson
bb39b99d65 fix panel link color, fix broken user profiles 2018-11-26 20:13:56 +03:00
Henry Jameson
a806d43f05 Merge remote-tracking branch 'upstream/develop' into feature/theming2
* upstream/develop: (60 commits)
  whoops
  whoops
  DM timeline: stream new statuses
  update-japanese-translation
  Add actual user search.
  incorporate most translation changes from MR 368
  update french translation
  Always show dm panel.
  Add direct message tab.
  api service url
  remove deploy stage
  remove deploy stage
  updated and completed German translation
  On logout switch to public timeline.
  minor modification of Chinese translation
  update Chinese translation
  Add Chinese language
  Fix posting.
  Put oauth text into description.
  Display OAuth login on login form button.
  ...
2018-11-26 05:21:58 +03:00
Henry Jameson
b948234aec whoops 2018-11-26 04:44:54 +03:00
Henry Jameson
e06717fd0d Merge remote-tracking branch 'upstream/develop' into feature/scope_preferences
* upstream/develop:
  DM timeline: stream new statuses
  update-japanese-translation
  Add actual user search.
  incorporate most translation changes from MR 368
  update french translation
  Always show dm panel.
  Add direct message tab.
  api service url
  On logout switch to public timeline.
  Put oauth text into description.
  Display OAuth login on login form button.
  Add login form back in.
  Linting.
  Re-activate registration, use oauth password flow to fetch token.
  Fix typo.
  Remove gonsole.logg :DD
  Fix linting.
  Move login to oauth.
2018-11-26 04:38:44 +03:00
Henry Jameson
0ca42bd3d6 Merge remote-tracking branch 'upstream/develop' into feature/scope_preferences
* upstream/develop: (36 commits)
  remove deploy stage
  remove deploy stage
  updated and completed German translation
  minor modification of Chinese translation
  update Chinese translation
  Add Chinese language
  Fix posting.
  Count spoiler text in the character count. Fixes #135.
  Added Irish (Gaeilge) Language
  Copy-Paste too fast from the Catalan file apparently. Now it's in good Occitan.
  simplify code
  adapt to destructive change of api
  Adds Occitan locale
  Updated italian translation
  Update oc.json
  Update oc.json
  Update of the oc.json file Actualizacion del fichièr oc.json
  Sort messages object by language code so that it's easier from the UI to browse them.
  explicitly set collapseMessageWithSubject to undefined
  Fall back to instance settings consistently
  ...
2018-11-26 04:33:41 +03:00
Henry Jameson
9a9dc47fc5 better preview, collateral fixes 2018-11-26 03:19:04 +03:00
Henry Jameson
572c874f5c theme separation 2018-11-26 02:29:08 +03:00
Henry
f1a23f2b6e Merge branch 'update-japanese-translation' into 'develop'
Update Japanese translation

See merge request pleroma/pleroma-fe!378
2018-11-25 22:53:21 +00:00
Henry Jameson
d7eec4c30d more styles 2018-11-26 00:23:07 +03:00
Henry Jameson
94b481fa9c cosmetic fixes 2018-11-26 00:19:28 +03:00
Henry Jameson
1087741b0d font control args to allow passing an option list of fonts, for future use 2018-11-25 22:39:06 +03:00
Henry Jameson
707441ffe6 more fonts 2018-11-25 22:06:49 +03:00
Henry Jameson
1a65895bfd initial font support 2018-11-25 21:48:16 +03:00
eal
2d48292683 Switch to settings when touching settings 2018-11-25 19:18:16 +02:00
eal
668087a29e Switch to timeline on nav panel actions 2018-11-25 19:00:24 +02:00
Henry Jameson
e8536f3d95 clean up 2018-11-25 19:15:54 +03:00
Henry Jameson
883a76147a validity checks, no longer exploding when something is invalid 2018-11-25 19:12:38 +03:00
eal
3ed05693de DM timeline: stream new statuses 2018-11-25 18:11:57 +02:00
Henry Jameson
2f1070deb6 collateral fixes 2018-11-25 17:42:41 +03:00
Henry Jameson
698ebf7003 fixed indentation 2018-11-25 17:24:58 +03:00
Henry Jameson
1a8d24d649 some help strings 2018-11-25 17:21:53 +03:00
Henry Jameson
b07d7d7229 reset buttons, better disabled for shadows 2018-11-23 11:36:36 +03:00
Henry Jameson
26b9f787bb added "keep opacity" option, fixed opacity loading, fixed missing shadows not
affecting the preview (i.e. previewing pleroma-dark when redmond is applied)
2018-11-23 10:17:01 +03:00
Henry Jameson
652b98b13c fix v1->v2 transition for localstorage 2018-11-23 09:14:52 +03:00
Henry Jameson
1059d9b602 radii v1 fixes 2018-11-23 09:02:10 +03:00
Henry Jameson
754d71ec19 added checkboxes to keep current roundness and shadows, also cleaned up how
shadows/roundness are reset when switching themes
2018-11-23 08:24:55 +03:00
Henry Jameson
91ea9b7b0e checkbox radius 2018-11-23 07:28:53 +03:00
Henry Jameson
d2f3b6d244 more styles, temporarily in one file, fix for panel header box-shadow affecting
the user-card one
2018-11-23 01:45:08 +03:00
Henry Jameson
7af6be84bb fake borders fallback 2018-11-23 00:30:28 +03:00
Henry Jameson
29082e9aee fixed checkbox styles, optimized default shadows 2018-11-23 00:24:16 +03:00
Henry Jameson
d6f7cb469c small tab-switcher tweak 2018-11-22 05:13:09 +03:00
Henry Jameson
631b8433c0 bundling v2 themes works 2018-11-22 04:37:49 +03:00
Henry Jameson
324aadb7c1 fix 2018-11-22 04:25:15 +03:00
Henry Jameson
379144f4ab fix for zero-state for shadow-control 2018-11-22 03:55:45 +03:00
Henry Jameson
cd6c5b3e33 fix for tab-switcher 2018-11-21 23:30:47 +03:00
Henry Jameson
b8b5dbf63e fix 2018-11-21 22:08:27 +03:00
Henry Jameson
92afd6af12 layout fixes 2018-11-21 22:01:34 +03:00
Henry Jameson
18e0828ee7 last shadow override i wanted to make for now. also small tweak 2018-11-21 21:40:45 +03:00
Henry Jameson
b3ec3d450c fixup! better default pleroma shadows, matches original borders more closely 2018-11-21 21:35:18 +03:00
Henry Jameson
017fa60a82 better default pleroma shadows, matches original borders more closely 2018-11-21 21:32:51 +03:00
Henry Jameson
de88cfb94d compensate tab-switcher for fake borders 2018-11-21 21:28:22 +03:00
Henry Jameson
621ab806e6 more default shadows, replaced original shadows with generated ones. maybe gotta
update fallbacks...
2018-11-21 21:23:07 +03:00
Henry Jameson
3bdcdefc9b better tooltips, localized, too 2018-11-21 20:18:49 +03:00
Henry Jameson
dc3df7bc4e fixes 2018-11-21 18:22:05 +03:00
Henry Jameson
acf414e451 changed the way tab-switcher works to avoid removing/adding nodes since that
seems to cause issues, instead hiding nodes with css.
2018-11-21 07:38:00 +03:00
Henry Jameson
50562eb6b7 fix lint, for shadows, it's now possible to refer css variables as colors 2018-11-21 04:26:45 +03:00
Henry Jameson
3d6547001e panels now have shadow-overlay so that it's possible to have inset shadow all
over the panel, without header overlapping it
2018-11-21 04:14:32 +03:00
Henry Jameson
a79d9d9774 attempted fix^W workaround for tab-switcher bug 2018-11-21 04:14:10 +03:00
Henry Jameson
c3d8ff65bd fix notification unseen display rendering underneath the highlight 2018-11-21 03:52:12 +03:00
Henry Jameson
aa93664fd6 fix coldboot 2018-11-21 03:51:57 +03:00
Henry Jameson
b7fb720c19 cleanup, cold-boot issue fixed 2018-11-21 03:23:02 +03:00
Henry Jameson
73a9370710 fixed and updated roundness tab 2018-11-21 03:14:59 +03:00
Henry Jameson
0184d5fff0 whoops 2018-11-20 23:34:04 +03:00
Henry Jameson
d7af2c8419 mentioned bug in tab-switcher, made shadow-control work in zero-state 2018-11-20 23:25:38 +03:00