David Taylor
2dc3a50dac
FIX: Do not update last seen time for suspended users
2018-07-18 16:04:57 +01:00
David Taylor
f4c902b434
FIX: set default on theme.key, if it has not yet been dropped ( #6095 )
2018-07-17 08:40:35 +10:00
David Taylor
81f9500f5c
FIX: Change megatopic threshold to 10,000 posts
2018-07-12 22:00:53 +01:00
David Taylor
9a813210b9
SECURITY: Do not allow authentication with disabled plugin-supplied a… ( #6071 )
...
Do not allow authentication with disabled plugin-supplied auth providers
2018-07-09 14:25:58 +10:00
David Taylor
c168639be2
Add plugin outlet in admin theme list ( #5837 )
...
This will be used by discourse-theme-creator to add avatars next to each theme.
2018-05-18 10:09:21 +02:00
David Taylor
ad7f2b7dc6
Allow import and keyGen URLs to be overridden in import modal
2018-04-09 16:42:47 +10:00
David Taylor
a17cb11dc3
Allow adminCustomizeThemes.edit route name to be overridden in themes-show
2018-04-09 16:42:47 +10:00
David Taylor
37fe1c76b9
Allow FIELDS_IDS to be overridden
2018-04-09 16:42:47 +10:00
David Taylor
70e60f4afe
Allow adminCustomizeThemes.edit route name to be overridden
2018-04-09 16:42:47 +10:00
David Taylor
7426e63c30
Allow theme asset upload url to be overridden
2018-04-09 16:42:47 +10:00
David Taylor
f1f2ae594c
Remove wrapper <span> from user nav plugin outlet ( #5455 )
2017-12-27 16:51:39 +11:00
David Taylor
28073413eb
FIX: Presence bug ( #5329 )
...
* Add failing test case
* FIX: new activity was not triggering cleanup
2017-11-20 15:24:59 +01:00
David Taylor
8825581d98
Discourse-presence improvements
...
- Added guardian checks to endpoint
- Added security to messagebus publishing
- Added specs for security measures
- Moved all logic into component
- Stop sending ‘keepAlive’ messages if the user stops editing for more then 2 minutes
- Enable plugin by default
2017-09-08 14:32:13 -07:00
David Taylor
1def49cf6c
SECURITY: Only publish PM reply messagebus notifications to allowed users
2017-09-08 14:12:15 -07:00
David Taylor
feef5491a2
Simplify copy & add transifex config
2017-09-08 00:47:35 +01:00
David Taylor
7d350d0d75
Revert plugin js changes ( #5139 )
...
* Revert "Add disabled_plugins to preloadstore for login_required anonymous users (#5134 )"
This reverts commit b840170f8d .
* Revert "Do not load javascripts for disabled plugins (#5103 )"
This reverts commit a14ab48829 .
2017-09-07 15:15:29 +02: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
David Taylor
b840170f8d
Add disabled_plugins to preloadstore for login_required anonymous users ( #5134 )
2017-09-06 12:18:58 +02:00
David Taylor
a14ab48829
Do not load javascripts for disabled plugins ( #5103 )
...
* Do not load javascript for disabled plugins
* Appease rubocop
2017-09-06 10:06:47 +02:00
David Taylor
ce2250d7aa
Add avatar-flair plugin outlet for user card ( #5104 )
2017-08-28 12:26:42 -04:00
David Taylor
ed6e1c3825
Combine docker:lint and docker:test into one command
2017-08-22 13:47:29 +01:00
David Taylor
6e7488178f
Add documentation to docker_test.rb
2017-08-19 11:10:17 +01:00
David Taylor
a3f5878ec9
Use if, not unless
2017-08-18 22:12:20 +01:00
David Taylor
7704e8246b
Allow SINGLE_PLUGIN environment variable to be used
2017-08-18 22:04:35 +01:00
David Taylor
ea43f50f6d
Add documentation for new ENV variables
2017-08-18 22:03:09 +01: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
David Taylor
c981edfa20
Add option to run qunit tests in headless chrome ( #5054 )
2017-08-16 07:42:42 -04:00
David Taylor
37300d6777
SECURITY: Do not show latest/top topics on 404 for login_required sites
2017-08-13 19:02:44 +03:00
David Taylor
ea032d8372
Improve source code linting for continuous integration ( #5017 )
...
* Add rubocop linting to docker:test rake task
* Add eslint JS listing to plugin files, and add SKIP_LINT variable
* Fix failing ‘polls’ plugin eslint
Using eslint-disable-line, as is done in core qunit tests such as `acceptance/group-logs-test.js.es6`
* Add plugin test eslint to travis config
* Merge some eslint lines
2017-08-02 11:33:29 +09:00
David Taylor
4b00fdbc5b
Exclude bundle directory when running rubocop ( #5016 )
...
* Exclude bundle directory when running rubocop
* Include the default excludes as well
2017-08-01 12:47:09 -04:00
David Taylor
2c6ed64ebe
Spawn a new rake process to run tests, so that LOAD_PLUGINS gets re-checked ( #5001 )
2017-07-26 12:54:56 -04:00
David Taylor
27539e15e1
Allow whitespace around % scaler in markdown image syntax ( #5000 )
2017-07-26 10:54:20 -04:00
David Taylor
febd7621ea
Qunit plugin rake tasks ( #4985 )
...
* Allow running specific plugin tests using ENV variables
* Add a `rake plugin:qunit` task to match the existing `rake plugin:spec` task
* Improve docker.rake to allow running specific plugin qunit tests
* Purge cache before and after qunit tests
* Stop module auto-loader trying to auto-load tests
* Use URL query parameters to pass config into Qunit, avoiding caching issues
* Oops, searchParams doesn’t work in phantomJS. Parse the URL manually.
* Escape ampersands before passing URL to phantomJS, otherwise multiple parameters go wrong
2017-07-26 09:07:46 -04:00
David Taylor
4ad864892b
Improve “server warmup” check for qunit rake task
2017-07-25 16:31:30 +01:00
David Taylor
2ddf365e3a
Fix user stats colour for dark themes
2017-07-22 23:48:31 +01:00
David Taylor
62604e9297
Allow docker test rake task to be used for single plugins ( #4973 )
...
* Allow docker test rake task to be used for single plugins
2017-07-21 09:59:54 +09:00
David Taylor
2808e3f63e
Fix for the last broken discourse-details qunit test
2017-07-11 22:43:33 +01:00
David Taylor
1091d101ef
Load plugins for qunit travis tests
2017-07-11 21:50:16 +01:00
David Taylor
c8e9f4bd3a
Fix failing discourse-details plugin qunit tests
2017-07-11 17:25:53 +01:00
David Taylor
0b222493f6
For rake plugin:spec, only load ruby files ending in _spec.rb
...
This matches the default behaviour of rspec
2017-07-10 12:06:37 +01:00
David Taylor
9294826f31
Allow inclusion of elided text from emails when sending to a category… ( #4844 )
...
* Allow inclusion of elided text from emails when sending to a category address
2017-06-29 13:03:14 +09:00
David Taylor
058cde1fc5
Use bundle exec for docker_dev rake
2017-05-16 17:18:45 +01:00
David Taylor
96f2335c09
FIX: Corrects typo to avoid error 500 on theme change
2017-04-15 01:21:53 +01:00
David Taylor
03373a0e84
Add a user_seen DiscourseEvent for plugins to hook into
2017-03-31 23:30:59 +01:00
David Taylor
89d41ecb39
Add support for oneboxing twitter videos
2017-03-17 20:49:29 +00:00
David Taylor
ea45cc1293
Request full tweets, since twitter has increased the allowed length
2017-03-17 20:36:53 +00:00
David Taylor
6fd34cede6
FIX: latest-version tag is shown by git-describe
...
Adds the -match "v[0-9]*" parameter to git describe, this means that only version tags will be used.
2017-03-08 11:05:11 +00:00
David Taylor
91da124769
Added resolveService function to custom resolver
2016-10-19 22:12:25 +01:00