Commit Graph

218 Commits

Author SHA1 Message Date
Régis Hanol 90edaec9f0 BUGFIX: make sure we properly set topics.last_posted_at when importing from Vanilla 2014-05-14 19:46:47 +02:00
Neil Lalonde c4d3aa3d47 Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline. 2014-05-14 10:18:12 -04:00
Neil Lalonde 35547295bd Remove welcome.rake. Seed data handles this now. 2014-05-01 11:52:38 -04:00
Robin Ward 0528b408a3 Add an integration test for the new Ember 404 route 2014-04-29 15:29:13 -04:00
Régis Hanol 1a7ef2ae64 FEATURE: pre/code tags support in vanilla import 2014-04-25 20:07:21 +02:00
Sam 913c4f7b6e BUGFIX: caching sass is not valid due to "import" being used 2014-04-23 17:04:25 +10:00
Régis Hanol 2f08832cb7 FEATURE: handle 2 levels of categories in vanilla import 2014-04-19 00:59:20 +02:00
Régis Hanol ba0084edee FEATURE: vanilla import 2014-04-18 18:42:31 +02:00
Sam 6daef624c3 BUGFIX: smoke test was broken 2014-04-10 16:57:23 +10:00
Vikhyat Korrapati 8c129e480a Always use DiscourseSassImporter, add optional sprockets deps tracking. 2014-04-09 19:17:19 +05:30
Sam d71f62a9f9 Merge pull request #2180 from tomciopp/master
More idiomatic approach to finding drafts
2014-04-08 16:46:24 +10:00
Robin Ward b9799a886d Thor task to enqueue a backfill of topic links 2014-04-07 15:23:30 -04:00
Neil Lalonde d91a72a791 Allow rebaking posts for only one site in multisite. Use RAILS_DB. 2014-04-04 11:11:05 -04:00
Vikhyat Korrapati 45a23f524a Fix asset precompilation issues. 2014-04-01 23:05:17 +05:30
Vikhyat Korrapati ef99ab59a5 Allow importing Discourse styles in custom stylesheets to modify vars. 2014-04-01 23:04:50 +05:30
Régis Hanol 77a8a4083a Revert "Merge pull request #2125 from vikhyat/css-variables"
This reverts commit b537de3ca5, reversing
changes made to b925827e5b.
2014-04-01 16:24:29 +02:00
Vikhyat Korrapati ddd1dfe896 Allow importing Discourse styles in custom stylesheets to modify vars. 2014-04-01 15:25:43 +05:30
Thomas Cioppettini 38882eb1a7 Remove threequals from ruby files 2014-03-26 12:20:41 -07:00
Robin Ward d3f1eb395d Updated import for TypePad 2014-03-19 15:02:49 -04:00
Robin Ward d50c92b34b Mostly working importer for typepad blogs 2014-03-14 18:16:05 -04:00
Régis Hanol 23aa478473 Merge pull request #2052 from vikhyat/plugin-tests
Don't run plugin gem tests
2014-03-04 11:48:40 +01:00
Vikhyat Korrapati 56a7a68238 Don't run plugin gem tests. 2014-03-04 14:30:35 +05:30
Sam d969958b18 PERF: workaround aweful sass compiling perf with HUGE css files 2014-03-04 17:16:53 +11:00
Sam f602c568e2 PERF: speed up css precompilation by caching 2014-03-04 16:55:23 +11:00
Régis Hanol c6bc324259 CLEANUP: remove unused pseudo locale 2014-02-26 19:03:04 +01:00
Régis Hanol 0caee99e8b REFACTOR: moved the export.rake task into script/discourse script 2014-02-21 16:17:00 +01:00
Régis Hanol d5a3b4deee BUGFIX: missed a spot in the backup rake task 2014-02-19 17:09:43 +01:00
Régis Hanol 438f97d8b0 BUGFIX: backup/restore rake tasks weren't working 2014-02-19 15:25:31 +01:00
Régis Hanol 50273ba815 rename site setting to 2014-02-13 13:31:14 -08:00
Régis Hanol 269f52b8f7 fix db rake tasks 2014-02-13 13:31:13 -08:00
Sam cfa5882035 Be slightly less aggressive at clearing assets 2014-02-07 21:43:05 +11:00
Sam 8e9cfdfcda BUGFIX: plugins not updating after assets:precompile
Now that we have a fancy cache we can nuke all old assets
This is way better cause it ensures all .erbs get re-evaluated
And ensures plugins are updated
2014-02-07 11:37:07 +11:00
Sam d9df40dfcd minor refactor 2014-02-06 17:07:15 +11:00
Sam a69f59ef51 FEATURE: much faster asset precompilation with a redis backed cache 2014-02-06 16:55:53 +11:00
Vikhyat Korrapati 6acc5c19e7 Use LOAD_PLUGINS=1 instead of LOAD_PLUGINS=true for consistency. 2014-02-05 10:50:28 +05:30
Vikhyat Korrapati fab4e59f76 Fix plugin:spec rake task to include subdirectories. 2014-02-05 06:11:49 +05:30
Vikhyat Korrapati 102352e205 Add rake task for running plugin tests. 2014-02-02 01:52:53 +05:30
Neil Lalonde 3a6c3ee65d Add two rake tasks: db:rebuild_indexes and import:remove_backup 2014-01-31 15:30:47 -05:00
Robin Ward 4981525047 REFACTOR: Fixes poor class hierarchy for listing topics
- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
2014-01-18 19:26:24 +01:00
Sam 1533a1163c use_ssl is just confusing, it means use_https , fix name of setting 2014-01-09 10:51:38 +11:00
Régis Hanol e732aa8a86 BUGFIX: we should not store absolute urls for locally uploaded avatar templates
Highly recommended to run: `RAILS_ENV=production bundle exec rake avatars:regenerate` to fix the avatar templates stored in the database.
2014-01-07 17:45:06 +01:00
Robin Ward 4f8aed295a FEATURE: Embeddable Discourse comments, now with simple-rss instead of feedzirra 2013-12-31 15:01:22 -05:00
Robin Ward 62db063e1e Revert "Support for Embeddable Comments via IFRAME" - it depends on Curl
which not every server has. Have to rethink this.

This reverts commit e3e4c62887.
2013-12-31 12:52:31 -05:00
Robin Ward e3e4c62887 Support for Embeddable Comments via IFRAME 2013-12-31 12:26:24 -05:00
Robin Ward 3a459f3634 Support for dry runs when importing via Disqus, replacing text, foreign accents 2013-12-30 11:32:21 -05:00
Sam 66afabcf4c stop messing with asset pipeline defaults
stripping postfixes is wasteful and uneeded. It messes up our build
2013-12-19 12:33:17 +11:00
Robin Ward b41ee7256e Support for importing Disqus posts into a category 2013-12-12 16:31:24 -05:00
Robin Ward fcad3b8119 Experimental: Disqus XML importer 2013-12-12 15:36:19 -05:00
Neil Lalonde ec26063fdc In populate:posts tool, catch post validation errors and retry 2013-12-06 14:39:11 -05:00
Régis Hanol 7bb23c8ce8 FIX: better handle errors in youtube onebox 2013-12-06 12:01:30 +01:00
Neil Lalonde 13da653f2b Add a tool to generate a lot of posts in a topic. thor populate help posts to see usage. 2013-12-05 12:41:24 -05:00
Régis Hanol f65cde3cda do not bump posts when rebaking 2013-11-22 01:52:26 +01:00
Scott Carleton 908ba32d37 Avoiding double manifest files
Capistrano chokes if there's two manifest files. 
http://meta.discourse.org/t/rails-4-non-digest-assets-and-capistrano/10948?u=scotterc
2013-11-14 18:22:44 -05:00
Régis Hanol 706f96af0a rake task to install/update plugins (props to @marcoceppi) 2013-11-07 18:48:23 +01:00
Régis Hanol 86a60113a6 fix avatars:regenerate rake task 2013-11-06 12:32:27 +01:00
Régis Hanol 37fd7ab574 pull hotlinked images 2013-11-05 19:07:29 +01:00
Régis Hanol eb9c1f28ed add debug mode to autospec 2013-11-05 11:01:17 +01:00
Sam b11e665ecc Rails 4 is now the out-of-the-box default 2013-11-05 09:36:52 +11:00
Sam cc27c5f363 Rails 4 changes behavior of precompile not to include originals
This patch will restore rails 3 beavior and fix emoji etc under rails 4
2013-11-04 09:58:34 +11:00
Régis Hanol b56b11d96a add qunit to autospec 2013-11-01 23:57:50 +01:00
Sam 270fde7dbd correct rake test:prepare so it seeds the db correctly
move category creation into seeds as well, so db can be seeded from structure.sql
2013-10-25 10:31:33 +11:00
Robin Ward 348e2e3ef2 Support for per-user API keys 2013-10-22 17:34:39 -04:00
Régis Hanol 4536b5fe04 added a job to clean up orphan uploads 2013-10-15 11:15:48 +02:00
Régis Hanol f244650832 update images:pull_hotlinked rake task to add support for the markdown reference link style 2013-10-10 11:57:36 +02:00
Régis Hanol 15de4ac890 add a rake task to pull hotlinked images 2013-10-10 04:04:08 +02:00
Sam 279c3a3add rake task to generate api_key 2013-09-10 16:02:26 +10:00
Régis Hanol 3e80e885ae rake task to regenerate avatars 2013-09-08 12:22:50 +02:00
Régis Hanol 36b6b8d78e removed old rake task until it's updated 2013-07-31 23:24:16 +02:00
Sam 9749001b54 a much more robust qunit daemonizer 2013-07-30 14:15:20 +10:00
Sam 7e5c7f5987 fork web server, makes much more sense 2013-07-30 13:04:29 +10:00
Sam 5aa50699f0 tweak so more time for starup 2013-07-30 12:35:41 +10:00
Sam 85ddf73cf3 make qunit at least wait for a network connection 2013-07-30 12:32:12 +10:00
Robin Ward 0317cf9608 Show topics as a list of topics on the User Stream. 2013-07-25 15:56:20 -04:00
Robin Ward 19f3a8d640 Each user activity filter has its own URL now. 2013-07-17 15:42:31 -04:00
Sam a1f1849392 getting weird exceptions after handling one, work around 2013-07-05 17:44:32 +10:00
Sam 1db9108c1b add some error handling 2013-07-05 16:55:14 +10:00
Robin Ward 2d821d1ff4 Clicking the #site-logo will refresh the latest list. 2013-07-04 17:31:06 -04:00
Robin Ward 4a3bc1fb43 More Javascript Tests + Fixtures. Also a rake task to crawl them. 2013-07-04 16:20:43 -04:00
Régis Hanol 40f93bda8b make sure we trigger the post process when rebaking the posts 2013-06-21 18:30:57 +02:00
Régis Hanol 8a751e6e44 make sure we also delete optimized images 2013-06-21 09:34:02 +02:00
Robin Ward 9f3d5b9f1e Merge pull request #1044 from ZogStriP/clean-orphan-uploaded-files
added a rake task to clean orphan uploaded files
2013-06-20 07:53:50 -07:00
Sam 70683c1f09 Merge pull request #1034 from chrishunt/rebake-oneboxes
Optionally rebake oneboxes with posts:rebake task
2013-06-20 01:18:57 -07:00
Régis Hanol 4a17d6dca6 added a rake task to clean orphan uploaded files 2013-06-19 21:51:41 +02:00
Robin Ward d5643551cc Remove dependency on Webrick for QUnit tests 2013-06-19 14:36:26 -04:00
Chris Hunt 9565843d44 Create post:refresh_oneboxes rake task 2013-06-19 00:20:30 -07:00
Robin Ward 60fce196c7 More Qunit tests including a CLI runner 2013-06-18 13:44:20 -04:00
Neil Lalonde 4de0c58b83 Change the email address of the admin user created by rake db:seed:welcome so we don't get all the emails. Everyone needs to change the email address of their admin user. 2013-06-17 16:02:50 -04:00
Régis Hanol 2c3f757951 moved `has_been_uploaded` and `uploaded_regex` to the `Upload` model 2013-06-17 02:49:34 +02:00
Régis Hanol f94e4ffdcb added 'uploads:backfill_shas' rake task 2013-06-17 02:49:33 +02:00
Régis Hanol 037f62928b add proper post_uploads reverse index 2013-06-13 23:44:24 +02:00
Régis Hanol 770c1faeb1 added a reverse index of user uploads + rake task 2013-06-13 01:43:50 +02:00
Pavel Penkov 9ab743f351 Added rake db:seed:welcome task replacing pg_dumps/development-image.sql 2013-06-11 11:14:00 +04:00
Pavel Penkov cb3b79407d Added admin:create rake task 2013-06-10 05:56:51 +04:00
Robin Ward 26a81b30c2 When rebaking, update the links even if the cooked content didn't change. Someone
might be linking to us even if we don't have a link.
2013-06-08 21:53:33 -04:00
Robin Ward f268b882fd The posts rebake task should regenerate links too. 2013-06-06 13:52:30 -04:00
Sam ca2dee52db moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
Sam 2cd95bc649 lets try out annotations 2013-05-24 12:35:14 +10:00
Sam 559c1e52aa protect against crash in prd 2013-05-21 10:08:33 +10:00
Chris Hunt 9c092366e0 Add explicit 'spec' rake tasks
This doesn't require auto-loading of rspec-rails and puts the 'spec'
task in the rake task list (rake -T)
2013-05-17 16:02:43 -07:00
Sam b6bf95e741 speed up startup (avoid loading some gems on startup)
correct group permission leaks
add Discourse.cache for richer caching support
2013-05-13 18:04:03 +10:00
Sam fc07fcbd9d oops 2013-05-01 10:34:22 +10:00
Sam 8b419794f9 added option to force polling instead of messing with the detection 2013-05-01 10:29:39 +10:00
Sam ef875bba12 a spec that works like the fsm intended 2013-04-25 17:24:54 +10:00
Sam e1b958d483 oops 2013-04-11 21:31:56 +10:00
Sam 3d3b589b4d for now, run seed fu automatically after migrate ... still think there should be a cleaner way 2013-04-08 09:56:42 +10:00
Kuba Brecka b1249df598 update i18n:stats task to count pluralization based on locale setting 2013-04-02 14:56:26 +02:00
Kuba Brecka fd6c5c2068 let's make the "script/generate-pseudolocalization.rb" a rake task 2013-04-01 22:56:25 +02:00
Robin Ward 473a64d39d Add score, percent_rank to topics. Adds `HotTopic` model and consolidated job to calculate
hotness. Note: People on Heroku will have to update their jobs to the new structure
in Heroku.md
2013-03-28 15:39:54 -04:00
Kuba Brecka 2d405be467 translation status script, take 2 2013-03-23 12:14:59 +01:00
Supermathie eedd69631b Stage files to cdn77 one at a time
* cdn77 API isn't allowing more than one file in a prefetch request
* modify code to do them one-by-one
2013-03-21 23:56:58 -03:00
Sam fcbc77d0cd pre-stage our locales as well 2013-03-19 18:12:19 -07:00
nverba 68e3f5228f Basic Heroku integration 2013-03-13 19:07:49 +00:00
Gosha Arinich cafc75b238 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
Sam Saffron 97ceea8878 add delay and trivial 200 code check 2013-02-21 16:37:17 +11:00
Sam Saffron 012941ea62 basic smoke test script 2013-02-21 16:01:40 +11:00
Sam Saffron 2226207ecd smoke test 2013-02-21 16:01:40 +11:00
Sam Saffron 87b929eac6 added secret token warning in prd
added task to stamp builds
2013-02-18 17:34:43 +11:00
Robin Ward 21b5628528 Initial release of Discourse 2013-02-05 14:16:51 -05:00