Commit Graph

1516 Commits

Author SHA1 Message Date
Emma Winston
682afe8d2d Switch out old hometown logo for new one
Also tidies up a bunch of svgs that were hardcoded and shouldn't have been
2019-10-02 00:57:31 +01:00
Darius Kazemi
38e1afa724
Merge branch 'hometown-dev' into unbranding 2019-09-23 20:56:21 -07:00
Darius Kazemi
7bb2dbe395
Merge pull request #20 from emmawinston/remove-local-only-share-button
Remove share intent button for local-only posts - closes #12
2019-09-23 20:42:01 -07:00
Emma Winston
adfdc9b968 Remove a missed toot 2019-09-18 23:41:06 +01:00
Emma Winston
47248ec628 Corrects b51aba95b 2019-09-18 23:04:06 +01:00
Emma Winston
76426333d9 Add inline svg logos to index and error_boundary.js and style 2019-09-18 22:54:09 +01:00
Emma Winston
ec0a3e232d Move background colour auto-detect script to where the other webpack files are 2019-09-18 21:26:33 +01:00
Emma Winston
b51aba95b3 hometown logo in footer 2019-09-17 22:00:48 +01:00
Emma Winston
31d5547be3 Replace error elephant with hometown logo 2019-09-17 20:22:29 +01:00
Emma Winston
2ebe82c49b Utility function to detect background colour and select either light or dark default hometown logo 2019-09-17 16:57:08 +01:00
Emma Winston
41846b1e1f toot removal 2019-09-17 12:08:06 +01:00
Emma Winston
0eabec41a0 Remove Mastodon from draft warning text 2019-09-16 21:47:23 +01:00
Emma Winston
e83b30c39d De-tooting/removing mention of Mastodon 2019-09-16 21:13:35 +01:00
Emma Winston
f10703ae07 Remove share intent button for local-only posts - closes #12 2019-09-13 22:37:40 +01:00
Emma Winston
0eeb168bbe reworded 'the visually impaired' to 'visually impaired users'
It's less clunky and dated language, and Darius said I could do it
2019-09-13 00:06:19 +01:00
Emma Winston
6ae391bbb3 Making more toots into posts 2019-09-12 23:52:17 +01:00
Darius Kazemi
44486bdada
Merge pull request #17 from emmawinston/spoiler-tag-syntax-fix
Corrects syntax for spoiler tags to valid HTML (fixes #10)
2019-09-12 10:48:37 -07:00
Emma Winston
e5cd6d0cda Corrects syntax for spoiler tags to valid HTML (fixes #10) 2019-09-12 18:16:59 +01:00
Darius Kazemi
4ba1695ae3 Indicate version number in link footer. 2019-09-10 14:10:42 -07:00
Darius Kazemi
bc7b3eaba8 Fix incorrect footer link 2019-08-19 14:36:08 -07:00
Darius Kazemi
6c2e2969ca Merge tag 'v2.9.3' into hometown-2.9.3 2019-08-19 14:28:19 -07:00
ThibG
80d8ff97e4 Fix “read more” button behing hidden (regression from #11404) (#11522)
* Fix “read more” button behing hidden (regression from #11404)

This has the side-effect of putting the “Read more” button below possibly
trunctated polls instead of putting the poll below the “Read more”

* Remove dead code
2019-08-10 00:18:22 +02:00
Eugen Rochko
6861534d9c Fix "cancel follow request" button having unreadable text in web UI (#11521)
Fix #11478
2019-08-09 21:34:54 +02:00
ThibG
80e391afcd Improve focus handling with dropdown menus (#11511)
- Focus first item when activated via keyboard
- When the dropdown menu closes, give back the focus to
  the actual element which was focused prior to opening the menu
2019-08-09 21:34:54 +02:00
ThibG
c69f190af9 Fix image uploads being perfectly white when canvas read access is blocked (#11499)
Fixes #11496
2019-08-09 21:34:54 +02:00
ThibG
cec93c35d8 Improve keyboard navigation in privacy dropdown (#11492)
* Trap tab in privacy dropdown

* Give focus back to last focused element when privacy dropdown menu closes

* Actually give back focus to the element that had it before clicking the dropdown
2019-08-09 21:34:54 +02:00
ThibG
ad6fcb2d9c Improve dropdown menu keyboard navigation (#11491)
* Allow selecting menu items with the space bar in status dropdown menus

* Fix modals opened by keyboard navigation being immediately closed

* Fix menu items triggering modal actions

* Add Tab trapping inside dropdown menu

* Give focus back to last focused element when status dropdown menu closes
2019-08-09 21:34:54 +02:00
ThibG
d8cf2a0fb6 Fix privacy dropdown active state when dropdown is placed on top of it (#11495) 2019-08-09 21:34:54 +02:00
ThibG
21e3671e32 Trap tab in modals (#11493) 2019-08-09 21:34:54 +02:00
ThibG
3f7614f98a Disable list title validation button when list title is empty (#11475) 2019-08-09 21:34:53 +02:00
Eugen Rochko
ed27803822 Change account domain block to clear out notifications and follows (#11393) 2019-08-09 21:34:23 +02:00
koyu
d8b8c88c22 Added logout to dropdown menu (#11353)
* Added logout to dropdown menu

* Triggering build-and-test with empty commit as it seems it failed due to some internal failure

* Looks fine, ready to review

* Added changes from review

* method can be null without any problems

* Also target can be null
2019-08-09 21:33:18 +02:00
ThibG
c8bf30df92 Fix animate on hover in poll options without CW (#11404) 2019-08-06 21:53:23 +02:00
ThibG
7f9431c306 Play animated custom emoji on hover (#11348)
* Play animated custom emoji on hover in status

* Play animated custom emoji on hover in display names

* Play animated custom emoji on hover in bios/bio fields

* Add support for animation on hover on public pages emojis too

* Fix tests

* Code style cleanup
2019-08-06 21:53:21 +02:00
ThibG
af410c0706 Display custom emoji in bio field names (#11350)
Already displayed in public pages, but not WebUI
2019-08-06 21:52:25 +02:00
ThibG
16f348431b Only scroll to the compose form if it's not horizontally in the viewport (#11246)
Avoids jumping the scroll around vertically when giving it focus and
editing long toots.
2019-08-06 21:52:25 +02:00
ThibG
6abd849803 When deleting & redrafting a poll, fill in closest expires_in (#11203)
Use the smallest preset expires_in such that the new poll would
not expire before the old one.

In the typical case of a quick delete & redraft, this results in
using the same poll duration.

Fixes #10567
2019-08-06 21:52:25 +02:00
ThibG
99b27a8b4b When sending a toot, ensure a CW is only set if the CW field is visible (#11206)
In some occasions, such as the browser or a browser extension auto-filling
the existing but disabled/hidden CW field, a CW can be set without the user
knowing.
2019-08-06 21:52:25 +02:00
ThibG
39741fa2cd Scroll to compose form rather than reply indicator on focus (#11182) 2019-08-06 21:52:25 +02:00
ThibG
5b3d70ffa7 Display FTS warning based on actual search term, not the one being typed (#11202)
Follow-up to #11112
2019-08-06 21:52:00 +02:00
ThibG
011909262a Add message telling FTS is disabled when no toot can be found because of this (#11112)
* Add message telling FTS is disabled when no toot can be found because of this

Fixes #11082

* Remove info icon and reword message
2019-08-06 21:52:00 +02:00
ThibG
6e28da2139 Apply filters to poll options (#11174)
* Apply filters to poll options in WebUI

Fixes #11128

* Apply filters to poll options server-side

* Add poll options to searchable text
2019-08-06 21:52:00 +02:00
ThibG
363afe5e05 Memoize ancestorIds and descendantIds in detailed status view (#11234) 2019-08-06 21:51:02 +02:00
ThibG
d588173ab3 Optimize makeGetStatus (#11211)
* Optimize makeGetStatus

Because `ImmutableList.filter` always returns a new object and `createSelector`
memoizes based on object identity, the selector returned by `makeGetStatus`
would *always* execute.

To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
deep equality, thus returning the same object as long as the filters haven't
changed, allowing the memoization of `makeGetStatus` to work.

Furthermore, we memoize the compiled regexs instead of recomputing them each
time the selector is called.

* Fix memoized result being cleared too often

* Make notifications use memoized getFiltersRegex
2019-08-06 21:51:02 +02:00
ThibG
de747948a1 Fix swiping columns on mobile sometimes failing (#11200)
Fixes #9779
2019-08-06 21:50:05 +02:00
Darius Kazemi
bfc0fbab2c Adding exclusive lists feature
Major new feature, currently testing in a branch right now. Fixes #1
2019-07-26 01:53:21 -07:00
Darius Kazemi
5585c244da Add link to Hometown source in footer 2019-07-10 21:10:58 -07:00
Darius Kazemi
0436aa9984 Adding full Article support
This creates a new column in the `statuses` table which keeps track of
activity_pub_type, so in the case of a Note it will be blank (the
default) and it will be a string "Article" if the received remote object
is an AP Article. There is now a bunch of special case code in the
formatters and sanitizers to handle Articles differently, as well as on
the clientside.
2019-06-30 15:16:11 -07:00
Renato "Lond" Cerqueira
405d6a71c8 Fix merge issues 2019-06-30 10:55:36 +02:00
Renato "Lond" Cerqueira
f0a512c7ca Merge tag 'v2.9.2' into instance_only_statuses 2019-06-25 19:44:59 +02:00