374 Commits (48165b90110c06edf494f1024fca657c3b5e701c)

Author SHA1 Message Date
psychobunny 45affa3043 closes #2399 10 years ago
barisusakli 7a51520074 #2393 10 years ago
barisusakli 0ede4abe18 possible fix for #1848 10 years ago
barisusakli 7de9b998b5 fix typo in ajaxify, closes #2279 10 years ago
psychobunny ed60deb3f5 fixed ACP from previous commit 10 years ago
barisusakli 43806e5921 replay ie host fix
https://github.com/NodeBB/NodeBB/pull/2216
10 years ago
Julian Lam dedf7a6715 closed #2087 11 years ago
psychobunny 15052143d3 that preloader, will blow up your datacenter. 11 years ago
barisusakli 0dc780148a removed global room
socket.io already puts everyone into a room named ''
11 years ago
Julian Lam 063a4e5628 finished up UX integration for in-topic searching, added mousetrap lib to capture ctrl-F only in topic view, closed #1800 11 years ago
Julian Lam 347d7de25b an ajaxify.go 302 will pass callback and quiet arguments along as well now 11 years ago
Julian Lam e497290dbc removed commented-out code 11 years ago
Julian Lam fcbdc5e271 added recompilation of templates to NodeBB Reloading - #2010 11 years ago
Julian Lam 5936c72f96 further fix to #1957 11 years ago
barisusakli 53d20cf058 parse variables before rendering widgets 11 years ago
psychobunny 193832ea9b closes #1957 11 years ago
psychobunny a880ac6e9f do one api call for template configs rather than two on cold load 11 years ago
barisusakli 4fd2973c53 closes #1938 11 years ago
barisusakli e0be4d146f closes #1913 11 years ago
barisusakli 8146358aac closes #1905
fixed translator.load, it wasn't passing in language and was trying to
load undefined.json
11 years ago
barisusakli 093e373025 removed console.log 11 years ago
barisusakli 2d94df93b8 isArray is enough 11 years ago
psychobunny 67c5477fb2 testing transition speed change without waiting for widgets to render 11 years ago
psychobunny 310dbc754e closes #1839 11 years ago
psychobunny 224dd49102 no need to delay prefetcher anymore 11 years ago
psychobunny 829dcb134e logic fail, time for coffee 11 years ago
psychobunny e382e34656 unnecessary brackets 11 years ago
psychobunny 2851a9a96b don't ajaxify in until animation is completed; reduced minimum wait duration for preloader 11 years ago
barisusakli 9aeab08109 removed stop 11 years ago
barisusakli 93a6402879 removed stop increase timeout to 100ms 11 years ago
psychobunny 5b6acbad1e optimized widget call by bundling all queries into one for #1428; fixes active users widget crash
also fixes b3819fd076 properly
11 years ago
psychobunny c6183f1a82 closes #1428 11 years ago
psychobunny ecbb05ccca widgets.render doesn't actually use the url 11 years ago
Julian Lam 186473fa7b adding undefined check to hrefEmpty 11 years ago
frissdiegurke 2d9bc7eee7 fixed no href-attribute handled as external link 11 years ago
barisusakli 501c81e357 closes #1687 11 years ago
barisusakli aadca3a675 fix calls to removeRelativePath in ajaxify.js 11 years ago
barisusakli db84ced78f removeRelativePath public 11 years ago
Charles 9734403114 Fix removeRelativePath
Instead of checking the existence of relative_path (without /) anywhere on the url, it really should check that the url only starts with the relative_path.

Example

```
relative_path = /forum
without / = forum
url = /category/forum/5
removeRelativePath = ory/forum/5
```
11 years ago
barisusakli b2e48b21a2 pass url to onAjaxError 11 years ago
psychobunny b881131a65 fixes #1632 11 years ago
psychobunny 0816928949 unset preloader cache after loading url 11 years ago
psychobunny 09c632330b render widgets sooner 11 years ago
psychobunny bfcd13144e Merge branch 'master' of https://github.com/NodeBB/NodeBB 11 years ago
psychobunny 4ee055c3ea closes #1608 11 years ago
barisusakli e035d8f1de closes #1497
fixes user images in subfolder installs, if user image has https dont
append relative_path,
also removes relative_path in ajaxify.loadData so it doesnt call
/forum/api/forum/category etc.
11 years ago
psychobunny 5b17f9a7a4 added caching per url + rate limiting mechanism to prefetcher, closes #1576 11 years ago
psychobunny 1e05a92c1e no need to send prefetched state anymor 11 years ago
psychobunny 71214c6255 fixed preloader 11 years ago
psychobunny fee591e551 fixes #1587 11 years ago
psychobunny 1fecbd0b90 fixed function signature for ajaxify.loadData 11 years ago
Julian Lam 667a78902e closed #1586 11 years ago
psychobunny bf63c927c6 trigger ajaxify.loadingData regardless of cached state 11 years ago
psychobunny 7f011fe583 calling it ajaxify.preloader instead 11 years ago
psychobunny d5bf83f43f closes #1570 11 years ago
psychobunny 10716c37d3 closes #1376 11 years ago
Julian Lam b56df975e0 fixed 1495 11 years ago
barisusakli d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
11 years ago
psychobunny 111898ab0f closes #1467 11 years ago
psychobunny a14ce9d0c6 closes #1352 11 years ago
barisusakli c8efeb7d7c closes #1400, bunch of other fixes to 404, 403 in accounts 11 years ago
barisusakli 80ef7e5085 closes #1423 11 years ago
psychobunny 090c4e2aa9 action:ajaxify.contentLoaded - after #content is populated but before fade in animation - append elements to DOM at this stage. 11 years ago
psychobunny f3993aca4d closes #1397 11 years ago
Julian Lam 126260a027 added cache-buster to template xhr urls -- closed #1392 11 years ago
barisusakli 3e60451ce4 closes #1013
lets user change languages,
11 years ago
psychobunny 591fb41c08 removed unused content variable 11 years ago
psychobunny f01cb88c57 deprecated: plugins/fireHook, filter:server.create_routes, filter:admin.create_routes 11 years ago
psychobunny d27eb17b32 fixes #1294 11 years ago
psychobunny b023ef01af moving widgets and variables code out of ajaxify 11 years ago
psychobunny 1b206a6ae8 ajaxify cleanup 11 years ago
psychobunny 7e11d29f06 got rid of all templates.prepare; pull blocks using templates.getBlock instead of parsing twice 11 years ago
psychobunny 113eb38f9a moving ajaxify-related things out of templates and into ajaxify 11 years ago
barisusakli d2af4a6b69 user images wont be responsive in widgets 11 years ago
psychobunny ef97f627f4 closes #1237 11 years ago
psychobunny 653007b72e closes #1231 11 years ago
psychobunny e60b2f7716 closes #1174 11 years ago
psychobunny 0d625761be fixing bug introduced @ da0355ef79 (multiple widget areas defined = explosion) 11 years ago
psychobunny bdc7a19bd7 don't attempt to parse a non-existing widget area 11 years ago
psychobunny da0355ef79 remove async dep for widgets (30kb was overkill for one use of async.each); linting 11 years ago
psychobunny 62afe65ccf bugfix + deprecated templates.getTemplateNameFromUrl 11 years ago
psychobunny 712c382a28 optimizing ajaxify (still needs work though) 11 years ago
psychobunny bcd8137d0e console.log 11 years ago
psychobunny 55a7838725 temporary templateMapping fix for admin side; will come back to this after merging this branch 11 years ago
psychobunny 88e5ddac76 deprecating hook events on body 11 years ago
psychobunny c67182204f clean-up + bugfixes 11 years ago
psychobunny c26af77a24 fixing cold load of admin/index 11 years ago
psychobunny b9264dea76 ajaxify.loadScript 11 years ago
psychobunny 6f21547a8d ajaxify.fadeIn, ajaxify.fadeOut 11 years ago
psychobunny 6827dbc9c4 render widgets on cold load 11 years ago
psychobunny 23c283f06c ajaxify.getTemplateMapping 11 years ago
psychobunny 49997639e9 moved widget rendering code into ajaxify.renderWidgets 11 years ago
Baris Soner Usakli 091723a8c5 closes #1101 11 years ago
Baris Soner Usakli c49c3e3550 fixed jquery ui package 11 years ago
akhoury 2209a55afc - changes per PR conversation 11 years ago
akhoury 1b207d8276 IE8 support, general cleanups, from native to $ objects ... 11 years ago
psychobunny a3191227de closes #1080 11 years ago
psychobunny ef65f510a5 fomatting 11 years ago
psychobunny 599027f2d3 send full url to widgets as well so they can parse based on path 11 years ago
psychobunny aea7329871 animate page load only after widgets load 11 years ago
psychobunny 163b0f964e Merge remote-tracking branch 'origin/master' into Widgets 11 years ago
psychobunny c0df95b2dc render widgets upon ajaxify - this widget feetorez iz completified! 11 years ago
Baris Soner Usakli ea222c4f8a crash fix for notifications, removed exec_body_script, closes #1058 11 years ago
psychobunny d69835e115 allow any hash to be pushed to history 11 years ago
psychobunny 1e47953efd expanding hash regex to alphanumeric 11 years ago
Baris Soner Usakli 21367a1847 reverse infinite loading 11 years ago
psychobunny a53c35f071 added back 'body' trigger - to be deprecated in 0.4x 11 years ago
psychobunny 3955ca560f changed hook triggers to window from body 11 years ago
Baris Soner Usakli d0702f663b disable scroll events on ajaxify' 11 years ago
Julian Lam 3f876fec80 added ajaxify.start and ajaxify.end client-side hooks 11 years ago
Baris Soner Usakli 5759b1b1a2 closes #857 11 years ago
Julian Lam ab85ef6b7b fixed issue where back button stopped ajaxifying internally. 11 years ago
Julian Lam 459d5ddccd fixed #867 - added proper detection so that onpopstate would not react if it was a proper page load 11 years ago
Julian Lam b587d7b5ad fixed issue where calls to ajaxify.go were sending in a "template" argument that had since been removed, navigating back to NodeBB from an external link now no longer clobbers the History stack. 11 years ago
Julian Lam ef450edfea Revert "possible fix to #840", please see #867
This reverts commit 1d666bf7f0.
11 years ago
Baris Soner Usakli 1d666bf7f0 possible fix to #840 11 years ago
Baris Soner Usakli cd4cb240c8 upload file icon in composer was visible even when uploads were disabled 11 years ago
Julian Lam 127261100e fixed #698 - ajaxify.go will now cancel any active API requests when it is called 11 years ago
psychobunny 0e5358a701 closes #698 11 years ago
Julian Lam d86aefb518 removing defunct "template" argument in ajaxify.go 11 years ago
psychobunny 67e49db797 ajaxify.refresh(); removed console.log 11 years ago
psychobunny 4348e1efa4 use ajaxify.currentPage to find the user's location easily 11 years ago
psychobunny ca087e6fa7 fixes #576 11 years ago
psychobunny 98cf6eec71 shift clicking now opens links in a new window, closes #630 11 years ago
Julian Lam b81737bc0f moved refreshTitle into app.js, messaging someone now invokes an alternating title, hehe 11 years ago
Julian Lam b9f1176ec1 moved paginator progress bar into paginator block, better mobile handling, and hiding it on page load 11 years ago
Julian Lam e5c1edd5f5 using ajaxifying class for content and footer instead of jquery fadein/out 11 years ago
Julian Lam 0b39968a9c fixing back button behaviour and playing nice with History API 11 years ago
psychobunny 3dbcf8112d fixes navigation - back button 11 years ago
Baris Soner Usakli 2174aec0e1 closes #542 and other refactors on client side 11 years ago
Julian Lam a9ce8393e4 added footer.build and page.load hooks 11 years ago
Julian Lam 2cf55dcf9f added action:page.load hook 11 years ago
Baris Usakli 4da819b02b changesto category.tpl 11 years ago
Baris Usakli 12f3f1a45c show admin link in header if user is admin, closes #459 11 years ago
psychobunny 37450ff00c optimized ajaxify to only recurse through script tags; updated so it looks deeper for embedded scripts (ie. within plugin subtemplates) 11 years ago
psychobunny 338acb8fc2 added a way to disable ajaxify on links manually if needed. 11 years ago
Andrew Darqui 4b0e915698 just changed the 403/404 checking logic to use regex. 12 years ago
Andrew Darqui ef47f3fd15 if nodebb returns 403/404, don't overwrite previousUrl. If you don't do this, when logging in after a 403/404, it will redirect you to the 403/404 page. 12 years ago
Julian Lam 0e18ec022c not running init() if there is no init method in each template script 12 years ago
Julian Lam 038e04dee6 revamped client side scripts so that they are loaded using Require.js instead. 12 years ago
psychobunny 22c73f3c12 closes #345 12 years ago
Julian Lam f08067bab2 fixes #356 - issue where accessing a NodeBB using a different machine name
from one that it was set up with causing template data to not load, as it
was being accessed via absolute url, instead of relative url
12 years ago
Baris Usakli f2c1a92513 closes #215 12 years ago
Julian Lam 49e28f9d1e fixing bug where outgoing links didn't actually let you leave... oops! 12 years ago
Baris Usakli 4a7cd664fd fixed a bug in template parsing 12 years ago
psychobunny 1fbc038e64 fixed conflicts, added new language key for users/online 12 years ago
Julian Lam 964fbfe2bb fixes to get nodebb to at least load on IE 12 years ago
Julian Lam 0d9958afe7 HOTFIX for scripts 12 years ago
Julian Lam 6fd202fe36 closed #321, removed cheerio use altogether, and made changes to the
client side to ajaxify the user to /outgoing when an external link is
clicked
12 years ago
psychobunny 451ffafb9e finished initial client side & server side language parsing methods; integrated preloading into ajaxify and server app.js 12 years ago
psychobunny dc41c6bc0d formatting - core client side 12 years ago
psychobunny abd909d23b pagination - scroll to top / bottom arrows 12 years ago
psychobunny 7666ed3010 fixed two bugs in admin, meta.buildTitle errors out because no notification icon is present; pagination element missing
& final less cleanup for today
12 years ago
psychobunny 2098bf84a1 finished pagination for topic view 12 years ago
Baris Usakli cb6f587f24 closes #197 12 years ago
Baris Soner Usakli 5e1e1ecf6f moved refreshTitle into load_template callback 12 years ago
psychobunny 746fa93c80 added API call for total unread topics; moved unread notification parsing to client side
also fixed a bug where the new notification icon glow would disappear on
page refresh even if there were existing notifications.
12 years ago
Baris Usakli 22536e694c fixes wrong topics getting loaded into wrong categories 12 years ago
Julian Lam e8f1d645fe closed #160
new build_title function to be called via socket

also added categories.getCategoryField and refactored all calls to
getTopicField to be error-first
12 years ago
Baris Soner Usakli a5acf31fc6 posts on user account page scroll to the post now 12 years ago
Baris Soner Usakli 7297a26685 scroll to post 2 12 years ago
Baris Usakli 720dd9e960 scroll to posts 12 years ago
Baris Soner Usakli 916b46618c another fix 12 years ago
Baris Usakli 19b570cdcf closes #122 12 years ago
psychobunny 6f6a2e4127 closes #114. updated ajaxify to allow for get parameters to be passed in without issues. 12 years ago
Julian Lam 145898c3ba using nconf to manage config file now (issue #24) 12 years ago
Baris Soner Usakli 9f892c2e80 fixed pushState urls 12 years ago
Baris Soner Usakli 43e73e3aba url fixes for templates 12 years ago
Baris Usakli 6eb9af77e6 first pass at subfolder 12 years ago
Julian Lam d413d3b29a closed #40 by removing jquery call that repetitvely bound and unbound anchors 12 years ago
Baris Usakli 7ca2c949dd fixed safari script problem 12 years ago
psychobunny a6ff96c455 addressed issue #7 - removed unintentional flicker on page load 12 years ago
Baris Usakli 9309722898 fixed indents 12 years ago
psychobunny 2638c03752 added timeout to address bar hiding (as per the official way of accomplishing this task ) 12 years ago
psychobunny 5bb9933f4a added functionality to post button. also introduced some underlying concepts regarding modules and pulling template vars 12 years ago
Julian Lam 89d484c4ca removing old post_window (!!) and fixing default focus when the composer is loaded 12 years ago
psychobunny d4e4d17c5c prevent ajaxify from working on links with "target" set. added rss button as well as social icons to category listing. 12 years ago
psychobunny 34131ad46c modified exec_body_scripts to load external scripts. finally moved all the js files out of tpls into their own js
todo: still need to organize the individual scripts client side,
12 years ago
Baris Usakli 58d12c9c7c possible fix to post window opening on page load 12 years ago
Julian Lam 624ccc592c resolving issue where the post window stays open during navigation
- app.close_post_window now neatly closes the post window
12 years ago
psychobunny ab492f147f check for online/offline users, added custom redis sismembers method, fix for category view not showing up if it has no topics 12 years ago
psychobunny fb52dfc6c8 templates refactor part 2
updated so that tpls get loaded on demand as opposed to all at once on
load; added a function to pull the tpl list on load instead of having to
manually define new templates in code; some clean up; added utils.walk;
12 years ago
psychobunny 1cdbd376ba deprecated server side templates finally. code sharing between client side and server side templates; force_refresh parameter added to temasd
deprecated server side templates finally. code sharing between client
side and server side templates; force_refresh parameter added to
templates config.json; created initialization fn for webserver
12 years ago
psychobunny 88de8cd824 fixed an issue in bootstrap.js causing ctrl-click to not work. removed ctrl-click / middle click simulation code in ajaxify. am currently using unminified bootstrap TODO minifiy fixed version; 12 years ago
Julian Lam 5e9340a4fe fixing ajaxify bug where external links (and the logout link!) did not
work -- basically any link that wasn't a template didn't work
12 years ago
Julian Lam 6c82ffa09a fixed bug where middle-click didn't work on firefox. Now ajaxify is capturing both onclick and mouseup 12 years ago
Julian Lam 1d78c6a35d removing debug statements from ajaxify
building in middle click and ctrl-click listeners for new tab opening
instructing git to ignore everything in the /uploads folder
12 years ago
Julian Lam e4364b5362 pushing fix to ajaxify where the homepage did not get added to the history (and thus was unreachable via history action 12 years ago
Julian Lam 613b53ac3d removing console logs 12 years ago
Julian Lam c351d83418 added popstate functionality 12 years ago
psychobunny 42b4f90fed bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better 12 years ago
psychobunny 88f64b4a79 optimized the transition between pages just a bit 12 years ago
psychobunny f3f08a9c94 more fixes to ajaxify, updated /users blocks to sit flush to the left, started work on the ACP including basic templates, added a method to get active users in all rooms (socket connections), added more routes mostly pointing to admin, added a routing folder to start organizing routes better, starting with admin. 12 years ago
psychobunny 8e1ee88878 removed derpy + from header ill come back to that later when im more inspired... fixed ajaxify for custom routed urls, fixed recent/popular/active tab's invalid object initializer 12 years ago
psychobunny 31e845f4b0 added regex matching to templates/ajaxify. needs cleanup, just unblocking baris 12 years ago
psychobunny 09c6aace09 custom template half in 12 years ago
Julian Lam 7ed2413d96 Merge remote-tracking branch 'origin' into thread_options
added some styling and elements to thread deletion

Conflicts:
	public/src/ajaxify.js
12 years ago
psychobunny 4b32089367 temporary fix for templates loading twice 12 years ago
psychobunny 6ebc5398a7 fixed custom_mapping bug 12 years ago
Julian Lam 7bbc630dfb Merge remote-tracking branch 'origin' into thread_options
Conflicts:
	public/src/templates.js
12 years ago