Régis Hanol
1706036f2b
Allow a `post_edit_time_limit` of up to 1 year
2017-05-03 16:06:55 +02:00
Régis Hanol
4b9cc1ad17
import likes & bookmarks in JIVE API importer
2017-05-03 16:00:23 +02:00
Arpit Jalan
75300b6356
improve specs
2017-05-03 17:48:33 +05:30
Arpit Jalan
86f1cc8c92
FIX: don't apply max_emails_per_day_per_user on critical emails
2017-05-03 17:07:39 +05:30
Guo Xiang Tan
a470bce8fb
Update mail gem to 2.6.5 for a slightly smaller memory footprint.
2017-05-03 17:02:47 +08:00
Guo Xiang Tan
982e3d04f6
PERF: Allow memory to be freed instead of fetching all the objects into memory at once.
...
```
MemoryProfiler.report do
Jobs::UserEmail.new.execute(type: :mailing_list, user_id: user.id)
end.pretty_print
```
Before:
```
Total allocated: 180096119 bytes (1962025 objects)
Total retained: 2194 bytes (16 objects)
allocated memory by gem
-----------------------------------
66979096 activerecord-4.2.8
43507184 nokogiri-1.7.1
43365188 mail-2.6.4
5960201 activesupport-4.2.8
5056267 discourse/lib
4835284 rack-mini-profiler-0.10.1
3825817 arel-6.0.4
2186088 i18n-0.8.1
1719330 discourse/app
```
After:
```
Total allocated: 161935975 bytes (1473940 objects)
Total retained: 2234 bytes (17 objects)
allocated memory by gem
-----------------------------------
45430264 activerecord-4.2.8
43568627 nokogiri-1.7.1
43430754 mail-2.6.4
11233878 rack-mini-profiler-0.10.1
5260825 activesupport-4.2.8
5054491 discourse/lib
2186088 i18n-0.8.1
1822494 arel-6.0.4
```
2017-05-03 17:01:57 +08:00
Guo Xiang Tan
90cd35c496
PERF: Reduce allocated memory when generating mailing list email.
...
Before: 10590714 bytes
After: 5303394 bytes
2017-05-03 16:59:44 +08:00
Guo Xiang Tan
8d04afc01b
Update OJ.
2017-05-03 16:52:02 +08:00
Guo Xiang Tan
862052fca8
Update `rack-mini-profiler`.
2017-05-03 16:52:02 +08:00
Arpit Jalan
cdce060a38
FIX: don't apply max emails per day per user to forgot password
2017-05-03 14:02:37 +05:30
Neil Lalonde
2503241ce5
FEATURE: rebuild user preferences page to use tabs
2017-05-02 16:52:18 -04:00
Sam
f5f4c36795
Increase autospec qunit timeout to 600 seconds
...
Correct it so it refocuses on correct runner after running a test
JS tests can not focus on line so skip in vim mode
2017-05-02 16:02:14 -04:00
Sam
946f25098f
Refactor theme fields so they support custom theme defined vars
...
This paves the way to allowing themes to specify uploads and so on.
2017-05-02 16:02:14 -04:00
Arpit Jalan
1f6ffd5fb0
Update Translations
2017-05-02 16:08:55 +05:30
Arpit Jalan
77a8cae094
FIX: rescue specific errors on invite failure
2017-05-02 15:13:33 +05:30
Erick Guan
9f8a917d65
add event name for ping webhooks in the header
2017-05-02 08:13:23 +02:00
Guo Xiang Tan
f5b11cb429
PERF: Don't allocate extra array.
2017-05-02 11:54:23 +08:00
Jeff Atwood
3460b506d8
copyedit on new user of the month PM
2017-05-01 17:38:20 -07:00
Jeff Atwood
0b24cc8541
fix invite description
2017-05-01 16:41:19 -07:00
Sam
ba9339b8d7
FIX: missing image-url helper
2017-05-01 15:32:02 -04:00
Jeff Atwood
ee3d4f2a27
add link to flags nag copy
2017-05-01 12:14:17 -07:00
Robin Ward
3736b440cb
FIX: Quoting an expanded first post would force it to reload the cooked
2017-05-01 15:01:35 -04:00
Neil Lalonde
0722ffadf1
Remove site settings enforce_global_nicknames and discourse_org_access_key
2017-05-01 14:53:16 -04:00
Neil Lalonde
ca224ed8e9
FIX: pending flags message should go to moderators group, not staff
2017-05-01 14:53:16 -04:00
Sam
556ef4cfbd
FIX: case sensitive unconditional add of exact match in user search
2017-05-01 14:37:16 -04:00
Sam
a5fc51a967
improve QUNIT support for autospec
2017-05-01 13:50:28 -04:00
Robin Ward
dfe1174137
FIX: The dates for retroactive anniversary badges were wrong
2017-05-01 12:06:18 -04:00
Robin Ward
b99aedeccc
Merge pull request #4838 from vinothkannans/fix/read
...
FIX: 'read' filter in top menu showing new topics
2017-05-01 11:21:13 -04:00
Régis Hanol
2d22173b81
Merge pull request #4846 from cfstras/transfer-encoding-8bit
...
Fix reply-by-mail for 8-bit transfer encodings
2017-05-01 15:27:50 +02:00
Arpit Jalan
10e7043ff8
improve 'bulk add to group' error message
2017-05-01 17:12:56 +05:30
Arpit Jalan
9e9ead0954
FIX: incorrect label for top topics dropdown on mobile when filtering
2017-05-01 16:43:23 +05:30
Sam Saffron
dafc4ec906
qunit runner in autospec has been a mess, opening moves to get it working
2017-04-30 19:45:29 -04:00
Claus Strasburger
e9bb9a167b
Fix reply-by-mail for 8-bit transfer encodings
...
The mail class seems to handle mails sent with Content-Transfer-Encoding: 8bit
somewhat weirdly: It decodes them (to utf-8), changes the raw source to base64,
and does not modify the Content-Type:charset= header.
This leads to Discourse trying the message encoding (in my example ISO-8859-1)
first, and if that does not contain any unparseable characters, it uses that.
Sadly, in ISO-8859-1, every byte sequence is valid.
Fix this by always trying to decode as UTF-8 first. The probability of someone
using another encoding that cleanly (but wrongly) decodes as UTF-8 should be
fairly low.
2017-04-30 23:30:40 +02:00
Vinoth Kannan
1241660c2c
FIX: 'read' filter in top menu showing new topics
2017-04-29 14:37:45 +05:30
Jeff Atwood
a4815047c0
purge `scheduler_stats` every 1 month instead of 3
2017-04-28 15:05:15 -07:00
Régis Hanol
aba76bace6
add support to keep img tags when converting to html
2017-04-28 22:14:46 +02:00
Régis Hanol
51ee49aad2
FIX: properly support HTML document when converting to markdown
2017-04-28 22:02:20 +02:00
Robin Ward
f05f1a24d3
Change Anniversary badge to be multiple grant, once per year
2017-04-28 14:22:54 -04:00
Neil Lalonde
bb82e0a041
FIX: theme preview from preferences wasn't working
2017-04-28 14:01:57 -04:00
Neil Lalonde
b193ae2d15
FIX: missing link in unsubscribe text of summary emails
2017-04-28 10:37:52 -04:00
Jeff Atwood
a26483bfd6
missed a file again
2017-04-27 16:39:27 -07:00
Jeff Atwood
52007222fc
more realistic maximum password values
2017-04-27 16:38:50 -07:00
Robin Ward
cb8f91ca21
FIX: Scrolling offset was broken when entering some topics
2017-04-27 16:22:25 -04:00
Neil Lalonde
a501f9d4e5
Version bump to v1.8.0.beta11
2017-04-27 14:05:58 -04:00
Neil Lalonde
5259a7824e
Update translations
2017-04-27 13:26:15 -04:00
Robin Ward
5774a9a2c8
Revert offset calculation, was working poorly.
2017-04-27 12:20:32 -04:00
Robin Ward
a545117d2e
FIX: Forgot to clear out a topic excerpt
2017-04-27 11:49:39 -04:00
Robin Ward
2efe0442bf
FIX: Messed up i18n key
2017-04-27 11:45:59 -04:00
Régis Hanol
0ec15af970
restore the 'incoming_email_prefer_html' site setting
2017-04-27 14:31:11 +02:00
Guo Xiang Tan
304ace926e
FIX: Raise right response when post_action does not exist.
2017-04-27 17:29:53 +08:00