Franz Liedke
3b1714c977
Cleanup code (unused import, variable name)
2016-05-14 17:19:01 +09:00
David Sevilla Martín
c17265b04e
Replace pencil & tooltip w/ just text; Fixes #446 ( #954 )
2016-05-14 17:06:02 +09:00
Franz Liedke
8f0935b646
Merge branch 'pr/933'
...
Closes #258 .
2016-05-13 00:25:27 +09:00
Franz Liedke
98b68c6c45
Remove unused import
2016-05-13 00:25:11 +09:00
Franz Liedke
7a1d5a3a35
Compile dist JS for 58a3d33
2016-05-12 23:58:09 +09:00
Augustus D'Souza
58a3d33b60
Fixes #945 - Incorrect Scrubber count value ( #946 )
...
* Fixes #945 - Incorrect Scrubber count value
Clicking and dragging the Scrubber beyond the final post causes the counter to exceed the total post count. This commit fixes that issue.
* Updated post calculating logic
2016-05-10 10:52:20 +09:00
David Sevilla Martín
1934d51b8a
Changed "Advanced" to "Mail"
...
+ Added labels above inputs
- Removed Placeholders
2016-04-23 09:19:02 -04:00
David Sevilla Martín
25b3439d2e
Added "Advanced" page on admin & SMTP settings
...
Refs #258
2016-04-17 09:54:41 -04:00
Franz Liedke
d74d2235db
Add a tooltip to the avatar icon
...
Refs #249 .
2016-04-17 22:34:03 +09:00
Franz Liedke
3e7aaf0641
Use a slightly different icon for suggesting upload functionality
...
Refs #249 .
2016-04-17 22:24:09 +09:00
David Sevilla Martín
dfb8ad312b
If no avatar uploaded user will see the upload button directly on "avatar" without full opacity
...
Refs #249
2016-04-16 13:09:09 -04:00
Franz Liedke
2decf76093
Remove unused imports
2016-04-14 23:22:33 +09:00
Toby Zerner
0eee50f6d3
Scroll to reply preview initially
2016-04-08 13:51:23 +09:30
Toby Zerner
1fd5f3f545
Don't show username/email fields when editing own account. fixes #903
2016-04-08 13:40:37 +09:30
Toby Zerner
6a0ea61c55
Fix buttons being given incorrect title
2016-04-08 13:38:50 +09:30
Toby Zerner
2a0bca218a
Retain global page components between routes
2016-04-08 13:38:16 +09:30
Sajjad Hasehmian
018b9e0af3
Update app.js
2016-04-07 22:59:01 +04:30
Franz Liedke
e46876006f
Fix locale key
2016-04-01 10:49:11 +09:00
Toby Zerner
b9963bbe82
Fix commas in new DiscussionRenamedPost tooltip. ref #428
2016-04-01 12:02:51 +10:30
Franz Liedke
b9b3899dfe
DiscussionRenamedPost: Always show new title, show old title in tooltip
...
Refs #428 .
2016-04-01 10:07:34 +09:00
Franz Liedke
38e0fc53ab
Improve Button component to only show tooltip if textual content is available
2016-04-01 09:51:18 +09:00
Toby Zerner
b89bfc5194
Fix settings not automatically showing when an extension is enabled
2016-03-31 17:11:23 +10:30
Franz Liedke
e3073832d5
Remove leftover function
2016-03-31 15:12:07 +09:00
Franz Liedke
8093afc008
Fix DiscussionRenamedPost not being redrawn when toggling
...
Closes #428 .
2016-03-31 09:35:19 +09:00
Franz Liedke
1d67e239f7
Make DiscussionRenamedPost spread across three lines
...
This also adds a little button for expanding / collapsing this additional information.
It is expanded by default right now because I could not get the toggling to work yet.
Refs #428 .
2016-03-30 22:13:08 +09:00
Franz Liedke
71c75900cf
Extract EventPost description into separate method
...
This makes it easier to override in subclasses.
In preparation for #428 .
2016-03-30 20:41:15 +09:00
Franz Liedke
9df3bbae53
Only update human time objects every ten seconds
2016-03-30 19:47:40 +09:00
Franz Liedke
630215b742
Show full button content as tooltip
...
Refs #494 .
2016-03-30 10:04:08 +09:00
Franz Liedke
43c4c1fe9f
extractText: Avoid unnecessary variable
2016-03-30 09:59:54 +09:00
Franz Liedke
c67d6c8c61
Revert "Use GroupBadge component since we already have that"
...
This reverts commit f6e2a7a7e5
.
2016-03-29 22:46:23 +09:00
Franz Liedke
f6e2a7a7e5
Use GroupBadge component since we already have that
2016-03-29 22:39:26 +09:00
Franz Liedke
edc15d3163
Remove unused mixin imports
2016-03-29 22:32:15 +09:00
Franz Liedke
adcda98f30
Prevent humanTime helper to generate future times
...
Fixes #592 .
2016-03-29 22:23:11 +09:00
Franz Liedke
e00661125a
Use group ID instead of name in generated class names
...
This fixes #847 .
2016-03-29 22:08:44 +09:00
Toby Zerner
ebde47fe3b
Clean up unused code
2016-03-28 15:46:52 +10:30
Toby Zerner
bf003ebe0c
Add specific error message when an email address is not found in forgot password modal
2016-03-28 15:46:20 +10:30
Toby Zerner
07f38afc4d
Tweak user email confirmation alert
...
- Make sure is_activated is serialized to a bool (otherwise "0" will evaluate to true)
- Remove "error" class from message so it's more friendly
- Make the alert more prominent by mounting it into a new div at the top of the page
- Add loading UX to the resend button
2016-03-23 22:17:42 +10:30
Sajjad Hasehmian
74e1b14177
Show alert for unverified User
2016-03-22 18:52:32 +04:30
Toby Zerner
0c624f6c45
Oops, back to Mithril 0.2.3!
2016-03-21 21:25:00 +10:30
Toby Zerner
3a8b11e389
Extract sortMap variable
...
Also revert previous uncommitted change in dist file
2016-03-18 10:06:58 +10:30
Toby Zerner
1a95764909
Fix "sort by" dropdown being empty
...
Must be something in the latest version of Chrome that caused this to start being a problem, because @franzliedke started experiencing it a few days ago, and I only just experienced it for the first time yesterday.
2016-03-18 09:37:25 +10:30
Toby Zerner
41f48deddc
Fix regression with maintenance of scroll position when jumping between discussion list filters
2016-03-18 09:36:09 +10:30
Toby Zerner
b45bd3a581
Upgrade to flarum-gulp 0.2.0 / Babel 6
2016-03-18 09:31:01 +10:30
Sajjad Hasehmian
cba1868d9f
Update Mithril
2016-03-16 00:48:01 +03:30
Toby Zerner
8888fb2586
Add missing super.init calls
2016-03-11 13:45:38 +10:30
Toby Zerner
9e9ef6fe0f
Dramatically improve performance when typing in a modal
...
Since Mithril doesn't really offer granular redraw control, typing in a text input on a modal would trigger a redraw for the whole page (including the page content behind the modal) on every keystroke. This commit allows components to be "paused" so that their vdom subtree will be retained instead of reconstructed on subsequent redraws. When a modal is opened, we pause the main page component, and when it's closed, we unpause it. This means that while a modal is visible, only the content inside of the modal will be redrawn, dramatically improving performance.
2016-03-11 13:18:16 +10:30
Toby Zerner
e46878902a
Remove sudo mode and add password confirmation when changing email address
...
closes #674
2016-03-11 12:44:18 +10:30
Toby Zerner
6351c2354f
Fix browser back button losing scroll position. ref #835
2016-03-10 17:55:35 +10:30
Toby Zerner
b0b388052a
Fix regressions related to deleting posts
...
- On the front-end, correct the check to see if the discussion has no more posts
- On the back-end, run a query to count the posts instead of using the comments_count, because the comments_count does not include other deleted posts
2016-02-29 18:41:59 +10:30
Toby Zerner
2f187dfd65
Delete a discussion when its last post is deleted. fixes #823
2016-02-26 13:26:09 +10:30