Commit graph

6636 commits

Author SHA1 Message Date
Robin Ward
89c25d355d FIX: Progress bar not updating properly sometimes 2013-10-02 11:24:55 -04:00
Régis Hanol
af96ef2994 FIX: deleting a flagged post issue
cf. http://meta.discourse.org/t/deleting-a-flagged-post-issue/10061

The bug was only happening when you were about the delete the first post, which means deleting the entire topic.
2013-10-02 16:59:57 +02:00
Robin Ward
7caefded86 Merge pull request #1484 from velesin/resolver_refactoring
refactors Discourse.Resolver
2013-10-02 07:28:29 -07:00
Robin Ward
0b5df524c7 Merge pull request #1487 from velesin/has_current_user_tests
adds unit tests for Discourse.HasCurrentUser
2013-10-02 07:27:06 -07:00
Sam
441010ac65 optimise view count calculation query 2013-10-02 17:08:53 +10:00
Sam
ee286cc270 fix inability to save posts when navigated away,
oh my ... what a mess, there must be a better way
2013-10-02 16:18:16 +10:00
Sam
af467a1675 404 page had horrible perf, it was using "take" instead of limit.
in such cases EVERY row is materialized and only after the limit is applied.

So ... imagine what happens on a forum with 2,000,000 topics
2013-10-02 13:05:03 +10:00
Sam
a3128665cf make it more idiomatic 2013-10-02 12:23:16 +10:00
Sam
5f8851cb44 Avoid superfluous transaction when saving drafts 2013-10-02 12:17:27 +10:00
Sam
30bedff2c9 BUG: editing first PM was showing category selector 2013-10-02 07:43:57 +10:00
Robin Ward
9e815dbef9 FIX: Blockquote issue 2013-10-01 16:45:45 -04:00
Robin Ward
63d86eb9eb FIX: Allow Spoiler plugin (and others that use prototype.on) to work even if ListView was not initialized. 2013-10-01 13:53:26 -04:00
Régis Hanol
125c848ee3 Update nginx.config.sample to allow custom CSS
cf. http://meta.discourse.org/t/changing-css-in-customize-section-has-no-effect/10036
2013-10-01 17:52:04 +02:00
Robin Ward
be0ce08cc2 Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
Régis Hanol
01075c5e7a FIX database growth when running the PeriodicalUpdates job 2013-10-01 17:11:13 +02:00
Claus Strasburger
b089805dc0 Added method removeAllowedUser to topic_details.js
perform a request to /t/:id/remove-allowed-user,
then delete the user from the local list
2013-10-01 16:44:07 +02:00
Sam
75a8dfc467 rename all css.scss to scss 2013-10-01 17:35:26 +10:00
Sam
f0a122a66c move job files so they live underneath app/ and not in lib/
introduce new setting email_always, that will force emails to send to users regardless of presence on site
2013-10-01 17:04:02 +10:00
Sam
420cd7aa2c Merge pull request #1485 from nicksahler/patch-1
Changed rake to bundle exec rake. Seems to be the only thing working now...
2013-09-30 14:42:40 -07:00
Jeff Atwood
84734570c0 Merge pull request #1486 from Supermathie/bluepill-checks
Add process checks to kill/restart too large thins
2013-09-30 14:23:31 -07:00
Kevin P. Fleming
3777d9f653 Address @Supermathie's concerns in PR1430 2013-09-30 16:28:22 -04:00
Kevin P. Fleming
be0208182c Various cleanups to Ubuntu installation instructions:
* Avoid editing /etc/apt/sources.list add nginx repo, instead create
  /etc/apt/sources.list.d/nginx.list

* Avoid editing /etc/nginx/nginx.conf, instead put server_name_hash_buckets
  setting into discourse.conf

* Proper-case Discourse when it is referring to the product name, so that all
  the lowercase references are to the user created during the installation
2013-09-30 16:18:55 -04:00
Wojciech Zawistowski
363a8d6e4f adds unit tests for Discourse.HasCurrentUser 2013-09-30 21:46:42 +02:00
Michael Brown
6f25549668 Add process checks to kill/restart too large thins 2013-09-30 15:17:59 -04:00
Nick Sahler
53e4f4b691 Changed rake to bundle exec rake. Seems to be the only thing working now.
Can anyone provide insight as to why? There have been reports of this around the forums.
2013-09-30 14:48:35 -04:00
Robin Ward
3f0c03a20c FIX: Prevent unauthorized list of private message titles. Also remove some unused code. 2013-09-30 14:35:11 -04:00
Régis Hanol
40c08eab14 do not break oneboxes' favicon after updating favicons 2013-09-30 19:09:57 +02:00
Robin Ward
57f7c794d7 Merge pull request #1483 from velesin/controller_tests
adds unit tests for Discourse.Controller
2013-09-30 10:08:39 -07:00
Robin Ward
ca0c41fd40 Merge pull request #1477 from velesin/remove_builders_from_merge_attributes
removes unused builders param from Discourse.Model.mergeAttributes
2013-09-30 10:07:50 -07:00
Wojciech Zawistowski
f388226217 refactors Discourse.Resolver 2013-09-30 18:18:03 +02:00
Wojciech Zawistowski
2f9a467453 adds unit tests for Discourse.Controller 2013-09-30 18:12:12 +02:00
Robin Ward
e4e8b84ca8 Merge pull request #1481 from squareleaf/mobile_user_page
Adjust user page css for mobile sizes
2013-09-30 07:35:08 -07:00
Tiffany Green
4d9dba6d27 Adjust css for user page to work at mobile sizes
Style user page for mobile sizes

Remove guard

Bundle without guard

Remove guardfile
2013-09-30 09:18:52 -05:00
Robin Ward
ab774fa589 Merge pull request #1482 from abbat/master
Russian translation (actual version)
2013-09-30 07:01:45 -07:00
Régis Hanol
42d9b0ca46 Oopps. Regis doesn't know how to count 2013-09-30 15:12:46 +02:00
Régis Hanol
abe4a19824 fix profile db generator to run even with the system account 2013-09-30 15:10:30 +02:00
Anton Batenev
9241d3b789 Russian translation (actual version) 2013-09-30 14:12:49 +04:00
Sam
5caa7a0e4d improve performance of periodical update job, decrease frequency and shift it by a few minutes 2013-09-30 16:59:16 +10:00
Sam
6fbc5af284 notify_user is not a flag 2013-09-30 15:26:19 +10:00
Sam
a2690efa61 add db time instrumentation to job execution 2013-09-30 13:24:25 +10:00
Robin Ward
37304b7eba FIX: Too many new lines in long quotes 2013-09-27 15:08:56 -04:00
Wojciech Zawistowski
5905669270 removes unused builders param from Discourse.Model.mergeAttributes 2013-09-27 19:46:26 +02:00
Régis Hanol
3f3551f1e2 Merge pull request #1475 from elegos/master
Italian localization (pt. 1)
2013-09-27 09:20:29 -07:00
Robin Ward
19d94f3576 Merge pull request #1467 from velesin/resolver_tests
adds unit tests for Discourse.Resolver
2013-09-27 09:19:11 -07:00
elegos
ca15527d3e Italian localization (pt. 1)
First ~600 lines of italian translation revisited including missing
strings.

TODO: lines 581+
2013-09-27 17:16:34 +02:00
Régis Hanol
ce819b2a92 Merge pull request #1458 from thomas-mcdonald/remove-duplicate-method
Remove duplicate create method in PostCreator
2013-09-27 08:14:42 -07:00
Régis Hanol
7cc4d3186b Merge pull request #1474 from jhilden/patch-1
German typo fix
2013-09-27 07:40:21 -07:00
Jakob Hilden
53731e23a2 German typo fix 2013-09-27 11:55:30 +02:00
Régis Hanol
cd4cda5b4c allow users to specify thumbnail size 2013-09-27 10:57:31 +02:00
Sam
191dc77482 Merge pull request #1451 from velesin/remove_return_from_router_map
remove unnecessary return statement inside Discourse.Router.map
2013-09-26 14:39:47 -07:00