Commit graph

3202 commits

Author SHA1 Message Date
Benjamin Kampmann
8167207e38 Wrap extended post actions in ellipsis.
Add a new SiteSetting to specify a maximum of items to be shown in post action menus per default. If more buttons are rendered and those after mentioned maximum will be hidden behind a collapsible ellipsis-button. Once clicked it slides in the missing buttons and hides itself.

If the setting is set to 0, the ellipsis will not be applied. It default is set to 4 though.

All buttons are created equal - but the Reply-Button is more equal than others: If it is rendered, the reply button will never be hidden behind the ellipsis. The max count is exclusiding the reply button and its position would make the reply button hide, it is removed there and pushed to the end of the list.
2014-06-10 09:55:07 +02:00
Sam
cbb2cc3911 BUGFIX: fix ~ and ` navigation
Was completely broken.
2014-06-10 16:10:19 +10:00
Sam
6a089122e8 Minor optimisation avoid set in hot code path 2014-06-10 15:07:38 +10:00
Sam
383f0290a4 FEATURE: higher slack ratio out of the box
I upped the slack ratio for a few reasons

1. We render ucloaked anyway on first render,
   so cloaking really is not saving much
2. On mobile you don't get JS events so you need
   a lot more slack to minimize white screens
3. Vast majority of memory is used by object model,
   if we want to tame it we need to remove posts from stream

ember cloaking now supports high slack ratios without going into a tail spin
2014-06-10 15:07:37 +10:00
Sam Saffron
2042ed02ec BUGFIX: notifications cleared incorrectly
The notifications panel would reset itself
if you got a notification while it was open

New behavior, we refresh the panel live, blue notification
is cleared automatically if its open.

If window is not visible it will close the notifications panel,
that way you don't miss notifications by accident.
2014-06-10 11:44:49 +10:00
Sam Saffron
9f56d7d19d BUGFIX: unclearable blue unread circles
There were 2 issues:

1. We were resetting our tracking on large amounts of idle time
2. We used focus trakcing which is fragile and broken on iPad vs page visibility API
2014-06-10 10:03:29 +10:00
Neil Lalonde
56cd60f226 FIX: there are site settings for username min and max lengths. Neat. 2014-06-09 18:26:42 -04:00
Robin Ward
c6b92f0ef7 FIX: Support for nested bold/italics in MD 2014-06-09 17:46:36 -04:00
Neil Lalonde
c61462662b Add ability to run validation on site settings. notification_email and other email address settings are now validated. 2014-06-09 16:59:20 -04:00
Neil Lalonde
78d46a81e1 FIX: js needs to use same max username length as server 2014-06-09 15:28:03 -04:00
Robin Ward
59ef38bb88 FIX: Load order for pagedown-preview 2014-06-09 15:15:39 -04:00
Régis Hanol
2abcbcc29b FEATURE: add real date of post in the share dialog when triggered from the post date 2014-06-09 21:14:03 +02:00
Robin Ward
9d96fc6370 FIX: Back button not working well to latest 2014-06-09 14:05:26 -04:00
Robin Ward
7adb545168 ES6: Convert {{pagedown}} to {{pagedown-editor}} with deprecations 2014-06-09 12:16:27 -04:00
Robin Ward
1df3214773 ES6: Convert header view 2014-06-09 11:34:38 -04:00
Jeff Atwood
61bcdb926a make create new account a big button vs. link 2014-06-07 22:27:41 -07:00
Arpit Jalan
42d6cf90f6 Fix Badge Spacing 2014-06-08 00:17:33 +05:30
Johan Jatko
c6a8c095f2 Deboxify .nav-stacked on user-page 2014-06-07 04:41:14 +02:00
Neil Lalonde
b031327a46 Reverse the order of rows in a report so today is first 2014-06-06 17:08:35 -04:00
Neil Lalonde
4f90869618 Add content :bottom to the bottom of every page, as it says it should 2014-06-06 16:48:17 -04:00
Régis Hanol
aa71d15b7d TRIVIAL: uses the new attribute 2014-06-06 19:00:00 +02:00
Régis Hanol
8262279380 update ember-cloaking to support bottom fixed element 2014-06-06 18:59:07 +02:00
Robin Ward
6048c9e100 Let's switch back to using post numbers rather than last for links to
the last post. We'll keep support for the old format, but start linking
directly to the last post.
2014-06-06 10:14:43 -04:00
Sam
cc1bbf3a7b BUGFIX: cut up line while searching in chrome mac 2014-06-06 17:15:14 +10:00
Sam
41b15d1ad1 BUGFIX: not notifying unread and new counts correctly 2014-06-06 15:17:02 +10:00
Sam Saffron
d97ceb1d72 FEATURE: log_out endpoint for admins 2014-06-06 13:02:52 +10:00
Jeff Atwood
221fc2aef4 Merge pull request #2417 from adamloving/doc-fixes
Minor fixes to documentation and comments
2014-06-05 14:49:59 -07:00
Jeff Atwood
c27e70849e Merge pull request #2418 from kevinreese/master
restore bg-color for New Topic / New Post rows of Topic-List Categories
2014-06-05 14:46:50 -07:00
Robin Ward
97715b33d5 FIX: Composer wasn't displaying errors correctly. The fix is a hack
around our weird view structure that we need to fix.
2014-06-05 17:06:42 -04:00
Neil Lalonde
cc257e1f5c Boolean site settings don't save immediately 2014-06-05 17:02:15 -04:00
Robin Ward
651def63e5 Return the current user's custom fields 2014-06-05 16:16:45 -04:00
Robin Ward
6ae7d48fd1 FIX: Make sure the context of plugin outlets is correct 2014-06-05 15:20:55 -04:00
Robin Ward
e65283ecf5 ES6: Convert a view, adds a backwards compatibility layer with
deprecations for the old view helper names.
2014-06-05 15:09:20 -04:00
Kevin Reese
49ef3958c5 restore bg-color for New Topic / New Post rows in Topic-List Categories table 2014-06-05 11:58:20 -07:00
Adam Loving
efcd6396cf fix route in comment 2014-06-05 09:52:01 -07:00
Régis Hanol
c46b7f6181 TRIVIAL: ES6ify AppEvents 2014-06-05 18:51:39 +02:00
Régis Hanol
2cb6bec014 BUGFIX: progress bar was hidden when the composer was open - TAKE 2 2014-06-05 18:39:26 +02:00
Neil Lalonde
04e94bec5f Mobile: on a post, put username, name, and title on their own lines beside the author avatar 2014-06-05 12:32:48 -04:00
Neil Lalonde
a3c148407c Mobile: don't show edit reason and in reply to details in composer 2014-06-05 12:09:08 -04:00
Robin Ward
06965a999e Use replaceWith in order to not break the back button. 2014-06-05 10:18:31 -04:00
Sam
a4de1f25c1 Fix broken tests 2014-06-05 21:16:36 +10:00
Jeff Atwood
17dbc568c8 why did topic-excerpt have 50px padding? 2014-06-05 04:00:50 -07:00
Régis Hanol
425526d3fb BUGFIX: fix post highlight 2014-06-05 12:31:29 +02:00
Jeff Atwood
d3035b9405 gutter needs more left-margin 2014-06-05 03:07:42 -07:00
Jeff Atwood
3dd61a2056 f**ing bootstrap, span5 = .gutter 2014-06-05 02:57:56 -07:00
Jeff Atwood
f245da5142 f**ing bootstrap, span11 = .embedded-posts body 2014-06-05 02:29:56 -07:00
Jeff Atwood
972d58b876 consolidate post-column into topic-body 2014-06-05 02:02:27 -07:00
Jeff Atwood
3ed8b8f155 f**ing bootstrap, span2 = topic-avatar 2014-06-05 01:42:27 -07:00
Jeff Atwood
48f58eff1d tweak gutter width a bit 2014-06-05 01:15:06 -07:00
Jeff Atwood
8185fe0097 correct reply-to-tab offsets, based on .row? 2014-06-05 01:00:22 -07:00