15417 Commits (b2a0ecb3c803992a4b570eb128a88a21d3422716)
 

Author SHA1 Message Date
Misty (Bot) b2a0ecb3c8 Latest translations and fallbacks 8 years ago
Barış Soner Uşaklı efe13e4038 closes #5827 8 years ago
Misty (Bot) 9d0e2e90de Latest translations and fallbacks 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
Misty (Bot) e87f6f900f Latest translations and fallbacks 8 years ago
Misty (Bot) a1b7666c96 Latest translations and fallbacks 8 years ago
Julian Lam 568b2b9957 fixes #5780 8 years ago
Misty (Bot) 72fb92fa96 Latest translations and fallbacks 8 years ago
Julian Lam f40928c46c up composer 8 years ago
Julian Lam 6762ecbf21 Merge pull request #5839 from kingjan1999/master
Fix update link in README.md, fixes #5838
8 years ago
Jan c86cb12d0f Fix update link in README.md, fixes #5838 8 years ago
Misty (Bot) e02f354ec9 Latest translations and fallbacks 8 years ago
Julian Lam efea8f8e99 closes #5784 8 years ago
Baris Usakli 18181260e7 closes #5836 8 years ago
Baris Usakli 43a70270ef closes #5835 8 years ago
Misty (Bot) 018d5d7819 Latest translations and fallbacks 8 years ago
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).
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ı 8e8507c9e6 up widget essentials 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 0a4b76357a #5830 8 years ago
Baris Usakli 9dee81b37f closes #5830 8 years ago
Baris Usakli f8bfe79cf4 remove tid from recent_tids 8 years ago
Misty (Bot) 3a0bc15a7a Incremented version number - v1.5.2 8 years ago
Baris Usakli 5a9ae8f4c7 rearrange menu items 8 years ago
Baris Usakli 6ba913d6e6 up themes 8 years ago
Misty (Bot) 0e4fba7c6c Latest translations and fallbacks 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ı e6d0dde7b4 up dbsearch 8 years ago
Barış Soner Uşaklı bca79da8c6 closes #4197
add in-topic search support to dbsearch
prevent multiple click handlers on in-topic search widget(each click was
causing multiple scrolls)
fix index
8 years ago
Barış Soner Uşaklı e613064b06 closes #5819 8 years ago
Misty (Bot) d478deb4fe Latest translations and fallbacks 8 years ago
Barış Soner Uşaklı 71e3fea55b closes #5802 8 years ago
Baris Usakli 0e0d961f7c dont change templateData 8 years ago
Baris Usakli 0b101fa3eb composer-default 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 593ea572c9 up markdown 8 years ago
Baris Usakli 12d53c95ca up composer 8 years ago
Baris Usakli 2d875a99cb fix data 8 years ago
Baris Usakli dc110e2e3f closes #5818 8 years ago
Julian Lam 45d940ad2b added one more client-side hook for search @barisusakli 8 years ago
Baris Usakli 59aeee6516 remove addExpiresHeaders 8 years ago
Baris Usakli e036e26238 closes #5813 8 years ago
Baris Usakli 4e7447c9d6 remove ajaxify.widgets.reposition 8 years ago