Commit Graph

63 Commits

Author SHA1 Message Date
Vinoth Kannan 839916aa49
DEV: Debundle plugin javascript assets and don't load if disabled (#7566)
And don't load javascript assets if plugin is disabled.

* precompile auto generated plugin js assets

* SPEC: remove spec test functions

* remove plugin js from test_helper

Co-Authored-By: Régis Hanol <regis@hanol.fr>

* DEV: using equality is slightly easier to read than inequality

Co-Authored-By: Régis Hanol <regis@hanol.fr>

* DEV: use `select` method instead of `find_all` for readability

Co-Authored-By: Régis Hanol <regis@hanol.fr>
2019-07-15 20:22:54 +05:30
Tim Lange 8d6d60aab0 DEV: Add vagrant directory to gitignore 2019-03-28 12:55:46 -04:00
Sam 59ce11d10c ignore maxmind db 2018-10-10 14:30:51 +11:00
Sam 52f9112d63 another vim swap file 2018-05-14 16:32:15 +10:00
Gerhard Schlager 88217ca0b6 Configure Transifex for local-dates plugin 2018-05-04 10:13:15 +02:00
Joffrey JAFFEUX 78435833a5
FEATURE: discourse-cronos is now a core plugin 2018-05-03 20:15:57 +02:00
Andrew Schleifer 1ba953077e remove everything about vagrant 2018-04-05 07:59:03 +10:00
Sam 12872d03be PERF: run post timings in background
This means that if a very large amount of registered users hit
a single topic we will handle it gracefully, even if db gets slow.
2018-01-19 08:27:29 +11:00
David Taylor c9912fcc37 Add discourse-presence as a core plugin (#5137)
* Add discourse-presence as a core plugin

* Default enabled
2017-09-07 09:40:18 +02:00
Gerhard Schlager df096f7803
ignore bootsnap cache directories 2017-08-29 01:47:03 +02:00
David Taylor d65570a8a1 Preparation for using chrome for qunit in docker images (#5062)
Move use_chrome option to ENV variable
Rewrite script to work with node 6 (current LTS version used in discourse_docker)
Add node stuff to gitignore
2017-08-18 14:08:58 -04:00
Guo Xiang Tan 2c39743d5d Introduce multisite tests for better coverage. 2017-08-08 12:58:22 +09:00
Gerhard Schlager 02c87b4623
Ignore bootsnap files 2017-05-29 20:59:11 +02:00
Guo Xiang Tan 7f0561b621 Merge discourse-narrative-bot into core plugins. 2017-05-24 15:28:34 +08:00
Sam e7c2ad41ca Move discourse dev data out of tmp
Fix watch for restart so it works with puma
2017-05-18 11:36:24 -04:00
Guo Xiang Tan aa0e17574b Ignore all db dumps. 2016-11-02 11:17:05 +08:00
Sam 6031e692f0 Merge pull request #4366 from xfalcox/print
Print Support
2016-10-11 11:47:20 +11:00
Sam 543bf5e1e1 ignore bin, it is full of stuff 2016-10-11 10:12:23 +11:00
Rafael dos Santos Silva 70c68f0a7c Open print dialog automatically 2016-09-26 20:44:50 -03:00
Jared Reisinger 4db3f53c87 Improve the "develop inside Docker" experience
This PR is intended to work in concert with the discourse_docker changes
in https://github.com/discourse/discourse_docker/pull/292.  I have used
those changes to build a local "discourse_dev" image, and then
_**these**_ changes to easily spin up and work on Discourse and plugin
functionality.  It's working well for me, but of course YMMV.

Add `--init` and `--patch` options to bin/docker/boot_dev to make it
easier to spin up a container running Discourse out of a development
directory.

Add `bin/docker/README.md` to explain how to go about using the docker
command-line tools.

Tweak the Docker command-line tools to use the `-u` option to specify
user rather than changing to the user "inside" the container via `chpst`
(This way, we don't have to explicitly specify the HOME environment
variable, either.)

Add `bin/docker/shell` command to make it easy to jump inside the
running container.
2016-09-20 15:35:50 -07:00
Guo Xiang Tan 1ea1cefb35 Extract Nginx log analyzer into a plugin that ships with Discourse. 2016-07-19 15:44:00 +08:00
Jeff Atwood 8b5dfeb18f ignore a few more common meaningless JS errs 2016-06-09 16:38:46 -07:00
Neil Lalonde e5918c7d00 FEATURE: Merge tagging plugin into core 2016-04-27 11:58:53 -04:00
James Kiesel 0aa6dbaa59 Add .byebug_history to gitignore 2016-03-28 07:27:09 +13:00
Régis Hanol f36ba0b5bf add discourse-details plugin 2015-11-30 11:32:01 +01:00
Régis Hanol 626e7c6e3d ignore 'public/csv/' 2014-08-22 21:10:15 +02:00
Arpit Jalan a711575947 FEATURE: ship lazyYT plugin by default 2014-07-22 08:19:01 +05:30
Sam f1b357baf2 add ignore for tombstone 2014-05-27 09:48:13 +10:00
Sam 43bac5467a No need to watch this dir 2014-05-23 08:43:19 +10:00
Vikhyat Korrapati 5cb2df8f09 Set up poll plugin javascript using an Ember initializer. 2014-05-18 13:36:27 +05:30
Vikhyat Korrapati 78907a1f4d Don't ignore the emoji and poll plugins in .gitignore. 2014-05-16 03:59:45 +05:30
Régis Hanol 77e2a7fa00 add /public/backups directory to .gitignore 2014-02-13 13:31:13 -08:00
Sam 5f6836bf13 ignore bundle in case people bundle standalone 2014-01-06 15:55:01 +11:00
Robin Ward 3415904b63 Renamed `sublime-project` to `discourse.sublime-project` as sublime expects a `.sublime-project`
extension.
2013-12-23 14:46:35 -05:00
Sam 95c4bf4cfa ignore custom conf files 2013-12-20 18:14:39 +11:00
Sam ffffee3ae1 IMPORTANT - removed all sample files
This is very likely to cause merge conflict, it is for the greater good
Discuss at: http://meta.discourse.org/t/enough-with-the-sample-files/10351

From now on we use ENV to customise if needed
2013-12-18 16:46:37 +11:00
Alban Diguer 70bd5832a9 Performance: reduce max length post model for testing purpose 2013-11-30 15:13:41 +13:00
Sam 52c202b05e plugins public is auto generated 2013-11-20 14:39:02 +11:00
Sam 2610bd0192 vendor/bundle can be ignored 2013-11-13 16:20:49 +11:00
Sam Saffron fef39ee4c9 Mini Profiler and fast stack update, resolves infinite loop in flame graphs 2013-09-17 17:14:45 +10:00
Sam fbc28c2d64 plugins should not be checked in
auto generated files should not be checked in
2013-08-01 16:02:43 +10:00
Sam 676017238e production.rb should not be in git 2013-07-16 15:44:38 +10:00
Régis Hanol 1051b8de84 removed useless ignored directories 2013-06-17 22:14:36 +02:00
Navin cab3502c15 Replace PostAnalyser module with a class
Encapsulate Post#cooked_document as well
Include specs for PostAnalyzer class
2013-06-01 14:59:27 +02:00
Sam 93e9bcc7eb add a few ignores 2013-05-06 10:54:34 +10:00
Sam Saffron 94a578e4b2 ignore assets
fix runner so it works on mac
get rid of some test warnings
2013-04-30 12:43:59 +10:00
Sam 191008bcb7 undo stuff I should not have committed 2013-04-22 13:55:29 +10:00
Sam 89c91d4e10 a few more ignores per @miketheman 2013-04-22 13:53:32 +10:00
Pablo Corral 39892e1485 Update .gitignore
ignore config/discourse.pill
2013-04-21 22:13:43 +03:00
Kuba Brecka 7bc0eefa83 putting "public/downloads" and "public/images" into .gitignore 2013-04-18 11:04:43 +02:00