Commit Graph

15434 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
f646e08a6e update tags/links for 1.5.4 2017-07-27 19:40:11 -04:00
Misty (Bot)
76d2e43948 Incremented version number - v1.5.3 2017-07-27 15:51:26 -04:00
Misty (Bot)
f2dba40496 Latest translations and fallbacks 2017-07-27 09:23:37 +00:00
Julian Lam
09770c4c39 up composer-default 2017-07-26 14:50:17 -04:00
Baris Usakli
a9dbdc75af closes #5825 2017-07-26 14:32:53 -04:00
Baris Usakli
949595fdf3 fix eslint 2017-07-26 13:40:17 -04:00
Baris Usakli
541b78c26d fix ipMatch data 2017-07-26 13:39:34 -04:00
Misty (Bot)
ae3d5f8aaa Latest translations and fallbacks 2017-07-26 09:23:26 +00:00
Barış Soner Uşaklı
4c126c0870 up markdown 2017-07-25 22:15:52 -04:00
Barış Soner Uşaklı
b3f6c423c6 fix test 2017-07-25 18:23:21 -04:00
Julian Lam
f59f48c6e1 use setImmediate 2017-07-25 14:11:54 -04:00
Julian Lam
c9c27b86c4 added back logic to strip leading slashes, but after the fix to app.all 2017-07-25 13:50:37 -04:00
Baris Usakli
6087f3c8cd test router fix 2017-07-25 12:54:23 -04:00
Baris Usakli
e9639833c5 add router.all 2017-07-25 12:11:11 -04:00
Julian Lam
1247b4b53b linting 2017-07-25 11:07:48 -04:00
Julian Lam
233297367b strip leading slashes from path if double-slash is accidentally used, stripping trailing slash from relative path retrieved from config.json 2017-07-25 10:39:57 -04:00
Misty (Bot)
5835334b1c Latest translations and fallbacks 2017-07-25 09:23:35 +00:00
Misty (Bot)
b2a0ecb3c8 Latest translations and fallbacks 2017-07-24 09:23:35 +00:00
Barış Soner Uşaklı
efe13e4038 closes #5827 2017-07-23 18:10:24 -04:00
Misty (Bot)
9d0e2e90de Latest translations and fallbacks 2017-07-23 09:24:11 +00:00
Barış Soner Uşaklı
292d27716a closes #5842 2017-07-22 19:21:22 -04:00
Barış Soner Uşaklı
9d69224329 up themes fix altenate_logins to be bool 2017-07-22 19:05:22 -04:00
Misty (Bot)
e87f6f900f Latest translations and fallbacks 2017-07-22 09:23:55 +00:00
Misty (Bot)
a1b7666c96 Latest translations and fallbacks 2017-07-21 09:24:00 +00:00
Julian Lam
568b2b9957 fixes #5780 2017-07-20 15:43:11 -04:00
Misty (Bot)
72fb92fa96 Latest translations and fallbacks 2017-07-20 09:23:30 +00:00
Julian Lam
f40928c46c up composer 2017-07-19 17:37:39 -04:00
Julian Lam
6762ecbf21 Merge pull request #5839 from kingjan1999/master
Fix update link in README.md, fixes #5838
2017-07-19 09:29:10 -04:00
Jan
c86cb12d0f Fix update link in README.md, fixes #5838 2017-07-19 15:17:55 +02:00
Misty (Bot)
e02f354ec9 Latest translations and fallbacks 2017-07-19 09:23:24 +00:00
Julian Lam
efea8f8e99 closes #5784 2017-07-18 14:59:06 -04:00
Baris Usakli
18181260e7 closes #5836 2017-07-18 13:36:21 -04:00
Baris Usakli
43a70270ef closes #5835 2017-07-18 11:31:18 -04:00
Misty (Bot)
018d5d7819 Latest translations and fallbacks 2017-07-18 09:24:12 +00:00
Stjepan Osojnički
9b491e4c2e Add post images hook (#5828)
* Add post images hook

This hook would allow plugins to manipulate images inside posts  after images are manipulated by nodebb (for example, delay loading). Without this hook we can manipulate images by searching post data for them and manipulate that data, but any change on that level is either erased by nodebb once image loading starts (if delay is turned on) or it disables native image behaviour by changing image code so native behaviour is not triggered.
Hook at this place works for both delayed loading turned on and off.
Usage for this kind of hook was talked about here: https://community.nodebb.org/topic/10960/opening-uploaded-images-in-modal-windows

* trying to fix Travis error

* Update images.js

Hook moved out of wrapImagesInLinks function to places where images are actually loaded. One of the places is inside unloadImage function but in place where loading is happening because of failed if check (delayImageLoading not se in users configuration).
2017-07-17 18:16:48 -04:00
Barış Soner Uşaklı
eecc680761 style 2017-07-17 18:16:23 -04:00
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.
2017-07-17 18:15:24 -04:00
Barış Soner Uşaklı
b983be2919 fix colspans in category privilege tab 2017-07-17 15:29:36 -04:00
Barış Soner Uşaklı
8e8507c9e6 up widget essentials 2017-07-16 15:35:22 -04:00
Barış Soner Uşaklı
cc4f4e7282 style changes 2017-07-15 16:57:41 -04:00
Barış Soner Uşaklı
67ca1881bd closes #5831 2017-07-15 16:24:46 -04:00
Baris Usakli
0a4b76357a #5830 2017-07-14 17:29:53 -04:00
Baris Usakli
9dee81b37f closes #5830 2017-07-14 17:29:31 -04:00
Baris Usakli
f8bfe79cf4 remove tid from recent_tids 2017-07-14 16:23:20 -04:00
Misty (Bot)
3a0bc15a7a Incremented version number - v1.5.2 2017-07-14 12:56:02 -04:00
Baris Usakli
5a9ae8f4c7 rearrange menu items 2017-07-13 17:18:01 -04:00
Baris Usakli
6ba913d6e6 up themes 2017-07-13 14:02:42 -04:00
Misty (Bot)
0e4fba7c6c Latest translations and fallbacks 2017-07-13 09:23:25 +00:00
Barış Soner Uşaklı
5888a5ffc4 closes #5010
init plugin hooks before resetting widgets, the areas are returned by
`filter:widgets.getAreas`
2017-07-12 20:10:19 -04:00
Barış Soner Uşaklı
4056283fd5 always return array 2017-07-12 19:47:08 -04:00