Commit Graph

166 Commits (72a3ab1d6c12ef065e34ec9e6e780dee712beed6)

Author SHA1 Message Date
Baris Usakli 1f08e407d1 closes
Baris Usakli 2c215afe33 closes
psychobunny 2c238f49e0 added search button, hiding the form by default. also fixes issue
notes: mobile needs a dedicated notification screen, imo, rather than
using the same popup. and /search needs a form on the page itself.
psychobunny 770d9e5b7c removed mobile menu markup + css, more cleanup
psychobunny 6e164e61aa removed some unnecessary CSS
psychobunny 2098bf84a1 finished pagination for topic view
psychobunny 469a5221ed added postcount to topics return; started scrollspy behaviour for "postid / postcount" in topics.
psychobunny 346681ba27 removed mobile menu until it can be pluginified. refactored topics UX a hell of a lot, looks much better on both desktop+mobile now.
psychobunny b6a5cbf956 trim whitespace mode on
psychobunny 2f70dd732d BS3 basic integration; btn-large to btn-lg (inc FA); navbar fixed
psychobunny e2ffac74bc added css classes to hide/show elements based on logged in status; hid unread category to anonymous users
added some general classes .nodebb-loggedin and .nodebb-loggedout for
toggling display based on user status
psychobunny f1547a7b1f added badge to header for unread topics count
Baris Usakli 2e6b37e018 wrapped search form in li
Miguel Ángel Durán García 1afc4f39a8 Remove unneded type tags for scripts
In HTML5 we can omit the type tag for scripts because it's useless in
javascript.

http://www.w3.org/html/wg/drafts/html/master/scripting-1.html#the-script
-element

"When used to include dynamic scripts, the scripts may either be
embedded inline or may be imported from an external file using the src
attribute. If the language is not that described by "text/javascript",
then the type attribute must be present, as described below. Whatever
language is used, the contents of the script element must conform with
the requirements of that language's specification."
Baris Soner Usakli 6ff0c55dae swaped notif and search box
Baris Soner Usakli d6b9a2799b full text search using reds, issue
Baris Soner Usakli 59381ee1d3 cleaned up webserver.js a bit, moved api routes to its own file, closes
Baris Soner Usakli 78f462e1e6 added a new section that only shows unread topics, added mark all read button, closes
Julian Lam 4588745b9a refactored all calls to app.build_header (in regular and auth routes)
Baris Soner Usakli f7217f2d12 closes
Julian Lam cc1cc7cae4 first pass at meta tag construction abstraction (issue ). Also addressed issue
Julian Lam 59029a0ef0 minor tweaks to theme engine
Julian Lam 9e7afcf0ab fixing issue where navigating to a non-existant category_id caused NodeBB
to crash
Julian Lam 84584a1b5b minor cleanup of header tpl
Baris Soner Usakli f7f5da00e1 another fix for js crashes
Baris Soner Usakli 6f57e639f9 changed input to meta
Baris Soner Usakli de55a35684 more fixes for relative paths
Baris Usakli 6eb9af77e6 first pass at subfolder
Baris Usakli 5f8ca4aa6c moved modals to footer.tpl from header.tpl
Baris Usakli a43c7bc90f changed the /latest route to /recent to match the text
Baris Usakli 9309722898 fixed indents
Baris Usakli 523b787e69 added csrf to ajax calls
Baris Usakli 9e7e0f6579 changed updateHeader to check for the existance of the user label
Baris Soner Usakli 45dec91e1b reverted updateHeader code in footer.js to fix top bar after an image upload
Julian Lam 07d4466cb4 fixing user label when viewing with js disabled
Julian Lam cbd03e75e2 fixing bug where the number of posts counted was incorrect (1 over), causing thread tools to not appear when a topic was locked.
also integrated bootbox into confirm dialogs for thread deletion
Julian Lam a01a5bbd64 title also changes the top menu badge as well
Julian Lam 9ca749d62f Merge branch 'master' of github.com:psychobunny/node-forum
Conflicts:
	public/templates/header.tpl
psychobunny 220d80e3a1 added ability to add forum to iOS homescreen as an app
Julian Lam bffa8828df Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam 1a104686ac new header for meta title
psychobunny 54f86a912c mobileMenu module (categories menu), fixed bug I made in account.js when moving code to their own files,
Julian Lam 89d484c4ca removing old post_window (!!) and fixing default focus when the composer is loaded
Julian Lam 1ff77f853c Merge branch 'master' into post_window_refactor
psychobunny 46fbf5e0bf removed placeholder in "recent" header for now
Julian Lam 0a00eac970 added requirejs, new 'composer' module for all posting related functions (client-side)
composer module only has "push" at the moment... doesn't render a window quite yet.
Julian Lam 48bccb3498 applying custom theme (if enabled) to all routes
Julian Lam 7f77ec2c5f committing hotfix to registration
Julian Lam 405318844f allowing multiple less files to compile down to one
psychobunny a02a74604c moved CategoriesAdmin into its own file, hid popular/active, some jslinting + cleanup, renamed some fn calls to be more descriptive
Baris Usakli 8f281e9792 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 0f2014193d top bar fix
Julian Lam d71a38c4f7 minor styling changes to notif window
Julian Lam 79bf5fad5b tweaks to notif window to show relative time
Julian Lam ffbafc99c4 Merge remote-tracking branch 'origin' into notifications
Conflicts:
	public/css/style.less
	public/src/app.js
	src/websockets.js
Julian Lam c8d48127ad more changes to notification dropdown in header bar
Baris Usakli fe37dfecf7 connection/disconnection handling
Julian Lam 64f320743a renaming the notification window to 'alert_window'
Julian Lam 194793d14d Merge branch 'master' into notifications
Conflicts:
	src/websockets.js
Julian Lam 6f4c480cd8 interim commit on notifications dropdown
Baris Usakli ad1f688e85 chat text area is readonly now
Baris Usakli 8d0ac4cb07 chat feature
Baris Usakli 40b2aa2a80 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 9f8c9e8822 derp
Julian Lam 93f3a0e524 adding some default text to meta title and desc
Julian Lam 24c6d2c458 manually applying fix as detailed in https://github.com/twitter/bootstrap/issues/7118
Baris Usakli f4acb493d0 removed commented out code
Baris Usakli 545dc9d851 top bar user settings are pulled right
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;
Julian Lam 826edbd669 added linking to formatting opts in editor
Julian Lam dcbc93cacf fixing up formatting bar to not be highlightable (and not have an outline
when the span is focused on), also tweaked the formatting options to
behave a little more smartly when text is currently highlighted when it is
invoked.
Baris Usakli b949105142 Merge branch 'master' of https://github.com/psychobunny/NodeBB
Baris Usakli ecc621e0c1 disconnect event
Julian Lam b0cf97c5d6 editing features, part 1
Julian Lam 98193ecb29 Merge branch 'master' of github.com:psychobunny/NodeBB
Julian Lam 3eff46bb52 restricting posting by anons, redirects to login page and saves post to localstorage
Baris Usakli b0284487f2 added users link to top bar
Julian Lam 1b61511e8a fixed tabindex in reply window, wrapping up some minor bugs in editing
posts
Baris Soner Usakli 0aeeac9d61 image upload and changing images will clean up later andrew stayla
Julian Lam 2acd40a8bb fixing up the post window to extend the body when opened, so it doesn't clip stuff
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
psychobunny 4cb59c5aa9 started styling category.tpl, and added a fail plus sign to header, will revisit in the AM
Baris Usakli 85acabf1f6 Merge branch 'master' of https://github.com/psychobunny/node-forum
psychobunny 31542cd9be finished recent, popular and active posts shells, just need to update api methods
Baris Usakli 4ffbf88274 fixed header to link to new users page
psychobunny 8133ac53de small change to ajaxify to ignore href='#', added some design to future features, up for grabs if anybody wants to do them
psychobunny 4807002447 fix for responsive avatar, fix for submit/discard buttons taking you away from the thread
Baris Usakli 7dc9fd83c1 account page shows up when logged in and 403 when logged out
psychobunny 517b4de2fe threads look awesome now
Julian Lam 4c80e4f37d minor style changes to header
Julian Lam 09fb79d3a2 integrated LESS middleware to static served CSS/less files
Julian Lam c7fb07e2e5 Merge branch 'master' of github.com:psychobunny/node-forum
Conflicts:
	public/templates/header.tpl
	src/webserver.js
Julian Lam 3ca880d81e interim commit
Julian Lam 829dae05c5 updating header to show user label when logged in, and register/login when
not
psychobunny 9119a9d104 small refactor of routing, cleanup, templates are now parsed entirely on client side for /, /register, /login for now
psychobunny 1bec9fc5aa breadcrumbs, and changed home in nav to 'forum'
psychobunny e658531a67 replies are up
psychobunny bb8d5098e4 fixed bottom border on last topicrow
Julian Lam a6cbed94fc changing some niggling CSS to turn on bootstrap-responsive
Julian Lam cb9a110a5d RUN npm install AFTER PULLING THIS COMMIT!
Added user label to header, gravatar support