Commit Graph

79 Commits (a783bdf4adee3444e9cd32c2eaa0712214ba1230)

Author SHA1 Message Date
abcang 70891a99a9 Fix html escape characters in the URL ()
* fix character escaping in URL

* add tests

* put a comma after the last item

* add HTML escape test
Effy Elden 8321884eef Change usage of gsub to delete, as per Code Climate/Rubocop recommendation ()
Eugen ac54da9394 Fix , fix - Hook up comment box to the Redux comment value ()
Fix username styling regression introduced in 
Fix report screen background regression introduced in 
Eugen 043862f411 Fix , fix - Revert ()
When transmitting data in a HTML-encoded element like <content type="html" />,
relying on newlines being preserved is not wise, since HTML by itself
does not care for newlines - it cares for <p> and <br>

Additional fix: reset NSFW toggle after sending toot
Ben Roberts 0254ee9795 significant improvement in microformats markup ()
* significant improvement in microformats markup

This is a huge improvement and I believe will close .

Had these microformats reviewed by others in the community to help
ensure they are at least correct, if not complete.

I did not want to change the structure of the page, and so there it does
not fully mark up the entire ancestry chain, or reply chain, only the
direct decendants and direct ancestors are correctly associated, but
this is likely fine as the most important bit is to have access to the
urls for those toots which are now correctly fetchable.

* improve code climate

* trying to pass code climate tests

* code climate

* fix p-summary for content warning posts

* fix error introduced when merging via github
Rachel H f690320fb9 Keep newlines in xml ()
Eugen Rochko 139fc994e2 Fix - link @ names in bios
Eugen Rochko 6b81d10030 Add digest e-mails
Eugen Rochko 9d4cad6307 Improve glow
Eugen Rochko 3202bdd744 Fix - Use a better URL parser
Eugen Rochko 6fa4e01139 Fix showing ellipsis even when link hasn't been cut off
Eugen Rochko 999cde94a6 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
Eugen f8da0dd490 Merge branch 'master' into master
Eugen Rochko 80cefd5b3c Fix , fix - URL truncating is now a style so copypasting is not
affected, replaced onClick handler with onMouseUp/Down to detect text
selection not trigger onClick handler then
blackle bf0f6eb62d Implement a click-to-view spoiler system
Eugen Rochko d4d56b8af0 Fix , 1/2 of - replace rails_autolink with URI.regexp, run link_hashtags on simplified_format
Eugen Rochko 6a5036ab19 Fix whitespace preservation in status text
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko ca3b364aea Fix - Add microformats-2 classes to mention links
Eugen Rochko 23fc424b7a Account notes (bios) can now contain links. Character limit upped to 160
Eugen Rochko 48b9619439 Adding hashtags
Eugen Rochko 62292797ec Adding hashtag model
Eugen Rochko 33f7e1cf99 Shorten rendered links (strip protocol and www, truncate to 30 chars), redirect
to sign in page after sign up instead of root path which redirects to /about
Eugen Rochko 927333f4f8 Improve code style
Eugen Rochko ce29624c6d Fixing image upload limits, allowing webm, merge/unmerge events trigger
timeline reload in UI, other small fixes
Eugen Rochko 3d566279cb Fix formatter return block
Eugen Rochko 73615d7a79 Newlines and paragraphs in local statuses properly formatted
Eugen Rochko 33ad2e5423 Shorten mentions to only usernames
Eugen Rochko 3cc47beb6e Refactored generation of unique tags, URIs and object URLs into own classes,
as well as formatting of content