Commit Graph

8188 Commits

Author SHA1 Message Date
Neil Lalonde
a3b6e3cb97 FIX: permalinks redirects with relative_url_root 2015-04-19 23:36:09 -04:00
Sam Saffron
296add56e6 correct letter avatar template 2015-04-20 13:07:12 +10:00
Sam Saffron
6d2e651862 Revert "FIX: Missing letter avatars"
This reverts commit 03943554c6.
2015-04-20 06:41:08 +10:00
Sam
72ab1b9714 Merge pull request #3385 from tancnle/each-key-refactor
Replace Hash#keys.each with Hash#each_key for some perf boost
2015-04-20 06:17:27 +10:00
Neil Lalonde
c2e3c86883 FIX: broken header links when using relative_url_root 2015-04-19 13:52:10 -04:00
Robin Ward
03943554c6 FIX: Missing letter avatars
cc @zogstrip

It seems that the version string was ammended to return the ImageMagick
version. This caused the guard in the user avatars method to fail as the
versions weren't the same.

I changed it so it is comparing the right version, but I wonder if this
is bad as the controller is no longer using the ImageMagick version. Can
you please review?
2015-04-19 10:48:53 -04:00
Tan Le
9fbc763902 Replace Hash#keys.each with Hash#each_key for some perf boost 2015-04-18 21:53:53 +10:00
Robin Ward
13de577568 FIX: Error alerting tracking users of PM when replying in general 2015-04-17 15:38:44 -04:00
Robin Ward
bed7781fe2 FIX: Broken build 2015-04-17 14:45:17 -04:00
Robin Ward
2f7b241087 FIX: Keyboard shortcuts broke in the composer 2015-04-17 14:01:45 -04:00
Robin Ward
952b345883 FIX: Focus was being lost on error message popup when composing failed 2015-04-17 13:24:02 -04:00
Robin Ward
32365fbc58 Composer Messages can be dismissed by Esc 2015-04-17 12:41:31 -04:00
Robin Ward
a61c202ac4 Rewrite /private-messages to /messages 2015-04-17 12:01:50 -04:00
Robin Ward
0660a905b8 FIX: Back button broken navigating from one topic back to another 2015-04-17 11:52:30 -04:00
Neil Lalonde
ccce27d1b8 add plugin outlets for adsense plugin 2015-04-17 11:13:52 -04:00
Arpit Jalan
c3f163ca73 FIX: about tab was not showing on Privacy / ToS / FAQ topnav 2015-04-17 12:29:28 +05:30
Sam
51b747346e PREF: speed up grabbing unread counts 2015-04-17 16:01:20 +10:00
Sam
832cb9fdc3 FIX: admin check missing from topic tracking state
FIX: handle muted categories correctly
2015-04-17 14:03:08 +10:00
Robin Ward
e83bf7dc07 FIX: Restrict editing queued posts to one at a time 2015-04-16 15:50:47 -04:00
Robin Ward
e912b698ac FIX: Updating the category was not updating the UI 2015-04-16 13:56:27 -04:00
Robin Ward
2459f52c71 Merge pull request #3375 from techAPJ/patch-2
FEATURE: invite existing users to private topic
2015-04-16 11:13:42 -04:00
Robin Ward
94fea09416 Merge pull request #3383 from techAPJ/patch-4
FIX: handle error for duplicate email_in address
2015-04-16 11:13:36 -04:00
Robin Ward
b973a7e83c FIX: update was not returning the responseJson 2015-04-16 10:36:17 -04:00
Arpit Jalan
866d1cd8e3 FIX: handle error for duplicate email_in address 2015-04-16 16:23:22 +05:30
Sam
4387e05162 PERF: speed up query 2015-04-16 17:29:37 +10:00
Régis Hanol
b903a83eea Merge pull request #3382 from techAPJ/patch-1
FIX: do not show send invites button if sso is enabled
2015-04-16 09:26:50 +02:00
Arpit Jalan
b77cd1f287 FIX: do not show send invites button if sso is enabled 2015-04-16 12:31:56 +05:30
Sam Saffron
948f9b357e protect against failure 2015-04-16 15:22:21 +10:00
Sam Saffron
c2dd9564b3 creating new category was broken 2015-04-16 15:10:55 +10:00
Sam Saffron
67ed6b1e9a FIX: missing pluralization, change topic card to use replies 2015-04-16 14:54:24 +10:00
Jeff Atwood
3d30bd115d Merge pull request #3376 from awesomerobot/master
some fixes for tag alignment
2015-04-15 20:37:31 -07:00
Sam
61f53a0de0 rogue console.log 2015-04-16 12:59:16 +10:00
Robin Ward
5c49c6b581 FIX: Crawler layout from within plugin routes 2015-04-15 22:41:09 -04:00
Robin Ward
b2f34da477 FIX: A couple of other deprecations to keep discourse-tagging happy 2015-04-15 22:36:16 -04:00
Robin Ward
a1cbd31166 FIX: Tags plugin uses Discourse.TopicList.list 2015-04-15 22:19:54 -04:00
Sam
4919ec4c44 FIX: don't hide "public invisible" groups from groups on user page 2015-04-16 10:44:55 +10:00
Sam
a5b25ad2af FEATURE: scale up likes per day as users increase trust level
tl2 = 1.5 times the likes
tl3 = 2 times the likes
tl4 = 3 times the likes

configurable via tl[234]_additional_likes_per_day_multiplier site setting
2015-04-16 09:44:30 +10:00
Robin Ward
9cb928e893 FIX: Actions summary expanding was broken 2015-04-15 19:08:16 -04:00
Robin Ward
43669f7b24 FIX: Posting was showing errors due to misfiring wiki observer 2015-04-15 17:54:46 -04:00
Robin Ward
08b4b7b7ff Moderators can edit posts that are queued before they approve/reject 2015-04-15 17:20:34 -04:00
Robin Ward
245777ba04 FIX: Lost position in topic 2015-04-15 16:18:32 -04:00
Neil Lalonde
dcb9d6e16a remove queue_size_check 2015-04-15 15:52:39 -04:00
Robin Ward
d2ed64751e UX: Show category badge on enqueued posts 2015-04-15 15:29:37 -04:00
Arpit Jalan
d491d4f997 FEATURE: invite existing users to private topic 2015-04-16 00:52:54 +05:30
Robin Ward
9ffec28076 Allow posts in any queue to support topic/post attributes 2015-04-15 14:54:37 -04:00
Robin Ward
0c233e4e25 Interface is wired up for Approving/Rejecting posts 2015-04-15 14:54:37 -04:00
Robin Ward
96d2c5069b Interface for reviewing queued posts 2015-04-15 14:54:37 -04:00
Robin Ward
f1ede42569 Add the posts that need to be reviewed to the hamburger 2015-04-15 14:54:37 -04:00
Robin Ward
7f501a0c41 When a post returns enqueued don't insert it in the stream and notify
- Includes removal of a lot of modal boilerplate
2015-04-15 14:54:37 -04:00
Robin Ward
76f7786d0d Support saving posts via Store 2015-04-15 14:54:36 -04:00
Robin Ward
d4a05825da Convert Composer to use Store
- Uses store for `PostStream`, `TopicList` too
2015-04-15 14:54:36 -04:00
Robin Ward
a83a19f6ce ES6 module migrations 2015-04-15 14:54:36 -04:00
Robin Ward
22ffcba8e6 Convert Discourse.Post to ES6 and use Store model
- Includes acceptance tests for composer (post, edit)
- Supports acceptance testing of bootbox
2015-04-15 14:54:36 -04:00
Robin Ward
19a9a8b408 NewPostManager determines whether to queue a post or not 2015-04-15 14:54:36 -04:00
Robin Ward
a5ee45ccbe PostEnqueuer object to handle validation of enqueued posts 2015-04-15 14:54:36 -04:00
Robin Ward
8ba6a45cd7 Post Queue model to enqueue creation of posts 2015-04-15 14:54:35 -04:00
Jens Maier
535f7aab88 Fix admin badge UI style when no badge selected 2015-04-15 18:35:08 +02:00
Arpit Jalan
499bed69e2 FIX: show error message if user already exist in group 2015-04-15 14:15:58 +05:30
Simon Cossar
4b8ad7637c Remove old styles from rtl.scss. Add new styles to fix some positioning. 2015-04-14 19:19:11 -07:00
Simon Cossar
9b7f98edc5 Add to html element - this needs to be explicit so it can be reversed by r2 2015-04-14 19:07:23 -07:00
Sam
2a3f71a9a1 SECURITY: log off all existing sessions when resetting password 2015-04-15 08:57:43 +10:00
Sam
6a0cce8571 UX: tweak copy and position of tracking and new prefs 2015-04-15 08:38:42 +10:00
Kris Aubuchon
a87bf1d9aa some fixes for tag alignment 2015-04-14 15:54:17 -04:00
Robin Ward
eaf5d21c41 Don't store post timings that are greater than the account lifetime 2015-04-14 11:49:44 -04:00
Ben Hadley-Evans
c3b461f58d Add blank alt attribute to avatars.
This was giving an ugly border to avatars in the user card as the full size version loaded in Firefox.
2015-04-14 14:39:40 +01:00
Arpit Jalan
64d0eb567d FIX: scale large vertial images for onebox 2015-04-14 08:02:01 +05:30
Robin Ward
db4c04d606 FIX: Moderators shouldn't be able to see secure deleted posts 2015-04-13 11:48:31 -04:00
Ed Gibbs
5650428052 FIX: Sort page views report records
Adding a sort ascending by date to the page views report.
2015-04-12 10:46:13 -07:00
Tan Le
c55fdc7a75 A shorter and more concise version of select..size 2015-04-12 22:26:48 +10:00
Robin Ward
afe0781c50 FIX: Topic bulk actions refresh was broken 2015-04-10 12:43:14 -04:00
Régis Hanol
da8e5fbda3 search template clean-up 2015-04-10 16:09:16 +02:00
Régis Hanol
ae953e8087 FIX: missing username in the IP Lookup dialog 2015-04-10 15:56:40 +02:00
Arpit Jalan
e6df97f01d FIX: add email reply error message for topic not getting created in restricted category 2015-04-10 17:11:52 +05:30
Sam
75890aed26 FEATURE: allow admins to choose a group as a primary group
FEATURE: allow admins to set a default title for a group
2015-04-10 12:17:28 +10:00
Sam
e143eb595f UX: add link to group member from groups admin page
UX: remove uneeded refresh button from custom groups
2015-04-10 09:49:26 +10:00
Sam
eed8ddbb5c UX: select on blur if there are no choices for select2 2015-04-10 09:13:51 +10:00
Neil Lalonde
930937cfd5 FIX: mobile categories page should show the same dates as desktop categories page 2015-04-09 17:06:44 -04:00
Robin Ward
0d90b495a8 FIX: Plugins were broken for initial payloads
Our plugins use rails engines which are mounted against the main
application's `ApplicationController`. This works great but path helpers
need to reference `main_app` in order for it not to blow up.
2015-04-09 12:26:24 -04:00
Kris Aubuchon
cd552170a4 rounding the post-count squares in topic summaries 2015-04-08 16:31:19 -04:00
Jens Maier
5d4a22920e Remove white corners from avatars
See https://meta.discourse.org/t/round-avatars-in-topic-list/27098/103?u=elberet
2015-04-08 11:14:06 +02:00
Sam
4aed506917 type less words 2015-04-08 13:10:28 +10:00
Sam
4bfca12b11 FEATURE: anonymous_account_duration_minutes , cycle anon accounts after N minutes from last post
fixes it so anon users can not like stuff
2015-04-08 12:30:02 +10:00
Robin Ward
6398cd855c Don't scope category dropdown when using "Reply as New Topic" 2015-04-07 13:15:18 -04:00
Robin Ward
65bfa574ce Add userId to GA tracking 2015-04-07 13:10:33 -04:00
Ben Hadley-Evans
895e0261ed Fix italics/bold WYSIWYG bug with nothing highlighted.
This bug was reported here: https://meta.discourse.org/t/ctrl-b-selects-asterisks/27215 - It was something I broke whilst writing PR3288.

The fix checks if it is a multiline selection, if it is not (which includes blank selections) it will leave the asterisks unhighlighted.

Also fix a bug where asterisks would not be stripped if there was whitespace at the beginning of a line in a multiline selection.

Also fix styling issues I missed last time so that it matches the rest of the document. Specifically, 4 character tabs and spaces after "if"s.
2015-04-07 17:51:39 +01:00
Régis Hanol
13e97a0b77 Merge pull request #3343 from Qasem-h/RTL-Support-For-Persian
Add pluralization rule to fa_IR.js.erb
2015-04-07 17:59:02 +02:00
Qasem Hajizadeh
cbbe60e66e Add pluralization rule to fa_IR.js.erb
Persian does not distinguish between the singular and plural forms
of nouns in the same way as English does. For numbered elements,
always return the 'other' key from the translation file.
2015-04-07 20:15:30 +04:30
Régis Hanol
babbbc06d1 FIX: add support for .tgz and .gz backup files 2015-04-07 15:26:47 +02:00
Régis Hanol
cbce585c91 make jshint happy 2015-04-07 12:25:28 +02:00
Régis Hanol
bdbcd21687 FIX: hide custom avatar when image upload is disabled 2015-04-07 11:54:35 +02:00
Sam
be27fca904 we should be able to switch out of anon 2015-04-07 18:19:43 +10:00
Sam
f5d89169e2 FEATURE: initial implemenation of anonymous posting mode 2015-04-07 18:05:31 +10:00
Régis Hanol
cd5af46fb7 Merge pull request #3341 from techAPJ/patch-1
FIX: include topic excerpt in topic/message invite mail for existing user
2015-04-07 09:25:18 +02:00
Arpit Jalan
d5db44da87 FIX: include topic excerpt in topic/message invite mail for existing user 2015-04-07 12:02:04 +05:30
Sam
5d31290dbc FIX: cleanup old letter avatars if needed
FEATURE: use image magick version as a key for letter avatars
2015-04-07 13:03:43 +10:00
Sam
f909233ed5 Merge pull request #3338 from Qasem-h/RTL-Support-For-Persian
add rtl support for persian language
2015-04-07 09:39:50 +10:00
Qasem Hajizadeh
768d170d12 add persian language to rtl support 2015-04-07 00:36:46 +04:30
Robin Ward
6b79cc7b30 FIX: Unbind header keydown event 2015-04-06 14:25:41 -04:00
Robin Ward
da9e2792eb FIX: Bugs with autocomplete
It wasn't tearing itself down properly. It was swallowing events.
2015-04-06 14:04:42 -04:00
Régis Hanol
2389bee24c FEATURE: add notice when successfully changing avatar 2015-04-06 18:14:13 +02:00