8749 Commits (1247b4b53b5ca208f5080522f159228cac8e190f)

Author SHA1 Message Date
Julian Lam 233297367b strip leading slashes from path if double-slash is accidentally used, stripping trailing slash from relative path retrieved from config.json 8 years ago
Barış Soner Uşaklı 292d27716a closes #5842 8 years ago
Barış Soner Uşaklı 9d69224329 up themes fix altenate_logins to be bool 8 years ago
Baris Usakli 18181260e7 closes #5836 8 years ago
Baris Usakli 43a70270ef closes #5835 8 years ago
Barış Soner Uşaklı eecc680761 style 8 years ago
dbolack-ab c1452db0ba Adds the filter:uploadStored hook which fires after the file is saved… (#5798)
* Adds the filter:uploadStored hook which fires after the file is saved in the async waterfall and passes:
                       var storedFile = {
                       url: nconf.get('relative_path') + upload.url,
                       path: upload.path,
                       name: uploadedFile.name,
               }
               plugins.fireHook( 'filter:uploadStored', { uploadedFile: uploadedFile, storedFile: storedFile } );

* Corrections per PR. Should match style guide.

* Correction attempts take 2.

Per:

/home/travis/build/NodeBB/NodeBB/src/controllers/uploads.js

  234:5    error  Missing semicolon                            semi

  235:3    error  Expected indentation of 3 tabs but found 2   indent

  235:19   error  There should be no spaces inside this paren  space-in-parens

  235:105  error  There should be no spaces inside this paren  space-in-parens

  236:3    error  Expected indentation of 3 tabs but found 2   indent

* next() shouldn't fire twice, but I see no documentation suggesting that the paramaters will fire correctly.

Previous comments imply it is preferred to have fireHook fire fof the callback rather than having it happen next,  so I'm wrapping next in an anonymous function to ensure it passes the parameters.

If this is not the preferred method, please provide a thorough correction.

* Meh. Figuring out this style requirement is so hit and miss.

* Corrected for proper callback? technique.

Might blow up on style. Will watch.
8 years ago
Barış Soner Uşaklı b983be2919 fix colspans in category privilege tab 8 years ago
Barış Soner Uşaklı cc4f4e7282 style changes 8 years ago
Barış Soner Uşaklı 67ca1881bd closes #5831 8 years ago
Baris Usakli f8bfe79cf4 remove tid from recent_tids 8 years ago
Baris Usakli 5a9ae8f4c7 rearrange menu items 8 years ago
Barış Soner Uşaklı 5888a5ffc4 closes #5010
init plugin hooks before resetting widgets, the areas are returned by
`filter:widgets.getAreas`
8 years ago
Barış Soner Uşaklı 4056283fd5 always return array 8 years ago
Barış Soner Uşaklı 0f5be5ae25 remove plugin.hook check 8 years ago
Barış Soner Uşaklı 71e3fea55b closes #5802 8 years ago
Baris Usakli 0e0d961f7c dont change templateData 8 years ago
Julian Lam 701ba73883 updated homepage route logic so that it is all contained in the local function (and plugin hook receives all entries, including custom) @barisusakli 8 years ago
Baris Usakli 2d875a99cb fix data 8 years ago
Baris Usakli dc110e2e3f closes #5818 8 years ago
Baris Usakli 59aeee6516 remove addExpiresHeaders 8 years ago
Baris Usakli e036e26238 closes #5813 8 years ago
Barış Soner Uşaklı 923bd86662 Widgets refactor (#5817)
* widgets refactor

render widgets server side
widgets can use all the data the template can use

* fix tests
8 years ago
Barış Soner Uşaklı 80ea9e9797 fix lint 8 years ago
Barış Soner Uşaklı 6485108dfd faster getReplies 8 years ago
Barış Soner Uşaklı feecf0b61c dont make db call if guest 8 years ago
Barış Soner Uşaklı e9360347ea less padding, closes #5811 8 years ago
Baris Usakli e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
8 years ago
Baris Usakli 9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
8 years ago
Julian Lam 121a629de6 linting 8 years ago
Julian Lam 09621a3a3d fixes #5776 8 years ago
Baris Usakli fbddb665b0 make tests pass 8 years ago
Julian Lam e309ac5040 fixes #5790 8 years ago
Baris Usakli 7538210b07 #5772
load correct timeago settings on cold load instead of after page load
8 years ago
Baris Usakli d469f53eba using async in batch
removed unused code in debug
8 years ago
Julian Lam b7e8ecc6d3 updated mentions version and changed topics filter to take its translation from global hash instead 8 years ago
psychobunny 14bda343b3 use direct db call to get rss_token instead 8 years ago
psychobunny 0d60b17be1 use direct db call to get rss_token instead 8 years ago
psychobunny 6cb0d6f8c1 wipe existing rss tokens 8 years ago
Barış Soner Uşaklı b807d3750c encodeURI redirect url 8 years ago
psychobunny d44090ba18 Merge remote-tracking branch 'refs/remotes/origin/private-feeds' 8 years ago
psychobunny dd1cfd62d4 don't show rss_token in /api/user/name 8 years ago
Barış Soner Uşaklı 091fec8d6f removed unnecessary code 8 years ago
Julian Lam 932b3f06a5 closes #5797 8 years ago
Peter Jaszkowiak 6cb8440715 Fix #5793
Use a custom header instead
8 years ago
Baris Usakli 77103fb3d1 closes #5785 8 years ago
Julian Lam 3bd02d58e3 fixes logic that allowed posts beyond maximum post length if min is set to 0, @barisusakli 8 years ago
Barış Soner Uşaklı fd55e4ccdf Merge pull request #5783 from madarche/fix-route-touchicon
Fix /apple-touch-icon not sending uploaded file
8 years ago
Julian Lam 28d8be8b9d fixed #5782 8 years ago
Baris Usakli 7350e54b62 change to verbose 8 years ago