Commit Graph

5420 Commits

Author SHA1 Message Date
Baptiste Lemoine 871aceb89a better placement for popups 2020-06-02 17:28:23 +02:00
tykayn 519c9f417e merge messaging 2020-02-01 12:17:06 +01:00
tykayn cc4e34e508 hop 2020-02-01 12:16:22 +01:00
Baptiste Lemoine d923019b3e fix bulma 2020-01-31 11:48:37 +01:00
Baptiste Lemoine 6a616a0c33 save stuff 2020-01-16 17:10:18 +01:00
Baptiste Lemoine 9bef612c35 split of css
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-08 10:12:38 +01:00
Baptiste Lemoine e2fca13650 replace input classes that are not input at all in haml views
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 16:50:00 +01:00
Baptiste Lemoine 8dde1abdd4 🎨 style on conversations stacks
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 16:44:50 +01:00
Baptiste Lemoine cda3febaac 🐛 remove logs
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 15:08:35 +01:00
Baptiste Lemoine fa91d39338 🎨 make avatars a bit bigger
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 13:06:39 +01:00
Baptiste Lemoine 9e79e11091 🎨 style for footer links, responsive breakpoints
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 12:36:59 +01:00
Baptiste Lemoine fe7ce9f2e0 cut components for messaging
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 12:21:34 +01:00
Baptiste Lemoine ef47cee872 compose components for messaging, show mock contacts
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 11:11:48 +01:00
Baptiste Lemoine e8d5b39d02 📖 add bulma css framework
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 11:11:16 +01:00
Baptiste Lemoine d1ca0f69a8 list fake contacts 2020-01-06 20:50:36 +01:00
Baptiste Lemoine d7a17f9834 fix some columns show on smaller screens 2020-01-04 16:27:50 +01:00
Baptiste Lemoine 248e22cf6c style and place footer links 2019-12-28 11:19:51 +01:00
Baptiste Lemoine 3008f5e026 links and tags 2019-12-23 17:09:56 +01:00
Baptiste Lemoine 5175059c24 🎨 styling timelines
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2019-12-23 17:00:57 +01:00
Baptiste Lemoine 0e3069c8d7 👽 convert direct messages to private messages
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2019-12-23 16:28:07 +01:00
Baptiste Lemoine 948e2e5e9b automatically enable snow on the 3 last weeks of the year, add links to external utilities 2019-12-23 15:04:13 +01:00
Baptiste Lemoine a43f67dd03 🎨 big answering buttons for conversations in direct messages 2019-12-23 12:41:49 +01:00
Baptiste Lemoine ff53301fdb 🎨 full width for send toot button 2019-12-23 12:24:29 +01:00
Baptiste Lemoine 879a6ef656 factorize maxTootCharsLimit to only have one setting in the compose form 2019-12-23 12:10:55 +01:00
Baptiste Lemoine 26002f4b67 airmail style for notifications about direct messages 2019-12-23 11:44:49 +01:00
Baptiste Lemoine 03fd10d068 Merge branch 'master' of https://github.com/tootsuite/mastodon into messaging
 add snow effect conditionnally

# Conflicts:
#	package.json
#	yarn.lock
2019-12-23 11:01:09 +01:00
Baptiste Lemoine 8661eb28a4 split conversation example 2019-12-22 18:48:13 +01:00
Baptiste Lemoine 0b5c3dba2a debug info in threads 2019-12-22 18:30:22 +01:00
Baptiste Lemoine a572fd707a 🎨 staff only link to manage trending tags and administrate user 2019-12-21 17:20:44 +01:00
Baptiste Lemoine 9c968a0b23 refacto messaging into several components 2019-12-21 17:03:26 +01:00
Baptiste Lemoine d0ee3a8dad Merge branch 'messaging' of https://framagit.org/tykayn/mastodon into messaging 2019-12-21 15:16:59 +01:00
Baptiste Lemoine 15a9f2633f stuff for messaging box 2019-12-21 15:16:13 +01:00
tykayn 046b9ed6f8 link to suspend account 2019-12-20 14:30:13 +01:00
Sasha Sorokin 902c6bed5a Use different strings on exports page (#12569)
Currently the page re-uses strings from other contexts which doesn't fit
very well - strings incorrectly lowercase-d and pluralized, when they
don't need to be, because it's a table.

This commit changes page to re-use accounts.posts_tab_heading for toots,
and admin.accounts for "Following" and "Follows". This all should look
more aesthetically pleasing.
2019-12-19 12:47:55 +01:00
ThibG dc0750abc3 Fix manual scrolling issue on Firefox/Windows (#12648)
Fixes #12607

`will-change: transform` apparently makes manual scrolling impossible on
Firefox/Windows. While this should probably be considered a Firefox bug,
`will-change: transform` seem like a very aggressive performance hint that
may possibly make the browser consume more resources than needed, especially
in multiple-column mode.

This was originally added to improve scrolling performances on mobile, but
I think this isn't necessary anymore, because of the two following reasons:
- `contain: paint` (which is implied by `contain: strict`, which we apply
  whenever the browser supports grids) should have similar effects
- in single-column mode, the scrolling container is the root element, which
  I believe is optimized in at least Chromium

Keep in mind that I have not been able to make in-depth benchmarks, and
especially not been able to try on mobile, so performances should probably
be investigated further…
2019-12-19 12:47:19 +01:00
Marcin Mikołajczak a90258dbe9 fix multiple space (#12655) 2019-12-19 07:39:08 +09:00
ThibG c0ed53b810 Fix custom emoji category creation silently erroring out on duplicate category (#12647)
Instead, just re-use the existing category if any.

Fixes #12608
2019-12-18 16:56:59 +01:00
ThibG b364175e1b Fix link crawler not specifying accepted content-type (#12646)
The link crawler expects HTML documents, so set the `Accept`
header accordingly.

Fixes #12618
2019-12-18 16:56:06 +01:00
Takeshi Umeda 68070e82cc Add signature to exported status (#12649) 2019-12-18 16:55:21 +01:00
Takeshi Umeda a391eaf4d8 Fix an error when ActivityPub::FetchRemoteStatusService url is called with nil (#12652) 2019-12-18 16:54:03 +01:00
Baptiste Lemoine efe3acd0c5 todo on messaging 2019-12-18 16:16:08 +01:00
Baptiste Lemoine 4e336c8e6b fix account admin info, and links in the footer on the left 2019-12-18 12:52:46 +01:00
Baptiste Lemoine 626fa25f4b 👽 fr bookmark 2019-12-18 12:52:08 +01:00
Baptiste Lemoine c0c704652c creation time for message 2019-12-18 12:37:42 +01:00
ThibG 2ee5a9d9c3 Clean up OStatus-related codepaths (#12173)
* Remove “protocol” argument and return value, as only ActivityPub is supported

* Remove FetchRemoteAccountService, only use ActivityPub::FetchRemoteAccountService

* Fix tests
2019-12-17 13:32:57 +01:00
ThibG da2143b308 Fixes featured hashtag setting page erroring out instead of rejecting invalid tags (#12436)
* Revert "Fix ignoring whole status because of one invalid hashtag (#11621)"

This reverts commit dff46b260b.

* Fix statuses being rejected because of invalid hashtag names

* Add spec for invalid hashtag names in statuses

* Add test for featured tags controller
2019-12-17 13:31:56 +01:00
scd31 3830c0b741 Increase max backup size (#12602)
* Increased max backup size

* partially reverted schema.rb
2019-12-17 13:30:58 +01:00
Alice Gaudon 668f698077 Admin setting to disable default follows (#12566) 2019-12-16 23:55:50 +01:00
Thomas Citharel 8094955461 Add Event activity-type support (#12637)
This adds support for Event AP type in Mastodon. Events are converted
into toots by taking their title (AS name) and their URL (AP ID). Event
picture is also brought in if available.

Testable by fetching event content from https://test.mobilizon.org

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-16 23:55:28 +01:00
Sasha Sorokin 34aa5c7cb2 Improve report page structure (#12615)
* Move resolved button to the heading

This is one of the commits on improving overall reports page structure.
It changes where resolved button is located, moving it to the heading,
right next to the "Report #n" header, so-called "hot-place" to look at.

To accomplish this we have to declare one more content variable, change
admin dashboard template to respect it and CSS files for minor styling,
so buttons are inlined and centrally aligned according to the heading.

* Move actions buttons below the report table

I believe that actions to react on report should not be located at the
top of the page, instead they should be either after the table or
reporter's comment. This is just a logical sign that you should not
react to the report without reading all the details first.
2019-12-16 23:55:16 +01:00