Commit Graph

854 Commits (51adcc479cdd2bd428c3c53beaa78733b473d19d)

Author SHA1 Message Date
barisusakli 89bb11a58c closes
frissdiegurke 021e5bfcc5 [Settings] fixed data-empty usage within checkboxes
barisusakli a4975cab33 closes , closes
Julian Lam bf2cba028d fixed
barisusakli 8ff34e4dc2 parseint tid
barisusakli 161069c390 closes
barisusakli 6d8cc5648c some tag hooks/filters
Julian Lam 23c4b8ca35 only showing ACP setting saved alert if no callback is passed in
Julian Lam cac3ebc9e5 vertically centering modal when opened
Julian Lam c259e0407e closed
Julian Lam 4404387218 Merge branch 'master' into chat-route
barisusakli bb9caa7228 removed dupe
Julian Lam 95102f7e74 jshinting
Julian Lam 71916f0691 marathon bugfixing with @barisusakli re:
Julian Lam 55afa17651 getting chats working between both page and modal, yay
Julian Lam a031bc2721 highlighting of the user with whom you are currently chatting with
Julian Lam 07a82ec12c more WIP
barisusakli c5ccf4333b translate helpers
barisusakli dcbed4e935 closes
show alert if email not confirmed, clicking alert will send confirmation
email
barisusakli 684f858415 closes
barisusakli 64f680a0a3 action:chat.loaded hook
barisusakli 1b31f5b2ca single arrows wont go all the way to bottom
barisusakli c9c68f8cbe move cursor to end
barisusakli 105acc0197 not used
barisusakli 56830d773e cleaned up resizeStop
Julian Lam b338ac2a4c fixing space-indentation, modifying behaviour a little bit so that the maximized position is not saved, and minimizing can return back to the previous saved position
Julian Lam 517c70951f Merge branch 'patch-3' of github.com:mani95lisa/NodeBB into mani95lisa-patch-3
barisusakli a9e5e82431 closes
Mani Wang 1050efbe65 make expand postContainer more easier
If user don't know drag to expand and move 0 after down, then think user clicked and toggle postContainer's height between max and default 400.
barisusakli 1cabf885a2 closes
postCount != lastPostIndex unfortunately, that will need some rethinking
barisusakli b822e8babc render preview on image upload
barisusakli 67186edda7 fix drag drop
barisusakli 9240f65f20 moved resize code, removed old tab code
barisusakli c3e4d11f69 closes
barisusakli 1296cd58b9 closes
barisusakli c296aaeb8a discard language string
barisusakli 36ed21ad72 closes
barisusakli 35d1aacc45 no success alert on posting and editing
barisusakli 7d1ba0eb7c closes
barisusakli 6303ac4a90 closes ,
Julian Lam c41bb05711 final pass , closed
barisusakli 9151040250 side by side preview
barisusakli 13854e8774 closes
barisusakli bf18e70d66 small fix to title escape
barisusakli 4c2765a79c closes
barisusakli ce1934e566 closes
barisusakli b9139ef263 some escaping and fixed uploads in progress
barisusakli 3f9fa0137c taskbar text incase <script> is title
psychobunny b43602f5b6 closes https://github.com/NodeBB/NodeBB/issues/1631
psychobunny 35e72dbb37 load composer-mobile.tpl if in xs/sm environment, for https://github.com/NodeBB/NodeBB/issues/1657
barisusakli b9c30aa42d possible fix to
modified the tagsinput source to use keypress instead of keydown for the
confirmKeys
barisusakli 178f567659 closes
barisusakli 6bd4524a79 fixed share for category
barisusakli 573cb4b4d7 fixed share links
barisusakli 55dbc5c823 closes
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
barisusakli aa0b9f9029 semicolon
barisusakli 09d4f4b47b leaving tags box will create tag
psychobunny 3ba51b05f7 fixing the minified version of string.js instead
psychobunny 65f3fa1bbc fixing string.js compatibility
psychobunny 281aa0049c init, attempt to increase cold load speed
barisusakli e1ad2537b6 fixes navigator progress bar
barisusakli dbf07f786d closes
barisusakli 66701afdaa closes
fixes the notification image too, the property was called image not
picture
barisusakli fa1275c03a closes
barisusakli 90cea84af9 max 5 tags per topic
asdasd
barisusakli df73ceaeb7 closes
added tag input box to composer when creating a topic
added new routes for viewing tags 'tags' and 'tags/:tagname'
respectively
post_bar.tpl shows the tags of the topic
can edit the main post to remove or add new tags
added a new menu item to header to go to the tags page
barisusakli b30dee2601 no need to store titleEl
barisusakli 9ba0dc3363 closes
barisusakli 20a707e6c1 uploads cleanup
barisusakli e869a6a15a composer refactor
Julian Lam b1534b7798 removing allowGuestPosting logic in NodeBB
barisusakli 629648bc7d closes
Julian Lam 7dffc2a2e9 moving chat timestamp to top of message, not end
barisusakli c5d9a68b4b closes
psychobunny 240932dd80 add cursor: pointer if alert's clickfn is defined
psychobunny f2a692add7 some linting of settings.js
psychobunny c3e4c7dea1 using var instead of const for < IE10 compatibility
@frissdiegurke
psychobunny 2b4da7ebcd Merge pull request from frissdiegurke/master
added number-type to settings framework. persist expanded object on serv...
Julian Lam 65dd79c84e socket logic for -- handling of help tab in ACP
psychobunny f7fe0aa680 moved documentation out of alerts
barisusakli d0be73a4d4 closes
FrissDieGurke ab2c0cfa9f added number-type to settings framework. persist expanded object on server-side sync if changed
barisusakli 8ee866fc9d closes
barisusakli 4c28de659c closes
barisusakli d304bab4f1 dont change height if sizing horizontally
psychobunny 2ba2ef5320 closes
psychobunny a0fcdfe629 closes
barisusakli 933aa5dfcb
FrissDieGurke c4606e7009 minified settings-framework wrapper-length
FrissDieGurke c23df60e1b removed unnecessary method + doc within Settings Framework
barisusakli ab15dba0de closes
barisusakli f3d0d70867 closes
psychobunny 6f0e749b60 Merge pull request from frissdiegurke/master
added new settings-system
psychobunny 882589acae moved findBootstrapEnvironment into utils
Ole Reglitzki 4da8121827 jsbeautify
Ole Reglitzki d76ba519d4 added new settings-system
psychobunny 4b18403fa6 moving controls object into its own module
psychobunny 775e6ec8ce comopser bugfix
psychobunny 090ecaffd1 closes
barisusakli caa0c45a11 closes
barisusakli 6f2ea3eafc closes
Julian Lam 46c281db3d Merge pull request from miksago/formatting-dispatch-table
Composer: Implement formatting bar dispatch table
psychobunny ad8239aa31 alerts - parse globals before translating
Micheil Smith ae9f675b80 Composer: Use formatting dispatch table for inserting uploads and pictures
Micheil Smith bf7de0d051 Composer: Switch to using a dispatch table for buttons
Note: for now, it looks a little messy, but once I merge wrapSelectionInTextareaWith and insertIntoTextarea, it won't be. Promise.
barisusakli d431c94ed8 added variable to replying to string
barisusakli e12beccc09 closes
adds a dropdown to category view to move/pin/lock/delete multiple topics
barisusakli f9897daad1 all notifications are translated now closes
barisusakli 04488a9a14 closes
barisusakli d832a6f805 closes
psychobunny 3c711d72fb regex - no need to escape special characters inside []
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
barisusakli 8aa4f053e8 converted translator.get to translator.translate
barisusakli fc8e97448c load sounds on demand, refactored sounds
Julian Lam 29ec14efa0 fixed
barisusakli a091e06fe3 more work for
Micheil Smith 8da45b72a9 Composer: Rework formatting bar logic
Micheil Smith 78e1e4fbac Composer: simplify code with early returns
Micheil Smith 3e82cab398 Add missing new lines at end of files.
Micheil Smith 66d1f2505f Composer: Pass radix argument to parseInt
Micheil Smith 85cab3aec8 Composer: Escape special characters in regex
Micheil Smith e860b0dd4c Composer: Remove unused variables
barisusakli e2d0d4db5c added error and success language files
removed some code from server side that was emitting alerts
barisusakli 5ddf70a671 closes
barisusakli 0cd13b7b66 closes
barisusakli 6b7049cdae closes
barisusakli 5209c614fc add taskbar to body
barisusakli b5f4503e9f fixed share url
barisusakli e7a791ab74 removed unused globals from share module
barisusakli 273f499cc2 moved the duplicated sharing code to requirejs module
barisusakli 1d3c25fdcc moved alert to its own requirejs module
barisusakli 35eebbf20a chat message fix
psychobunny 7678eaf528 fixes
psychobunny 4f04bd82a6 some fixes
barisusakli 3a69a191ff closes
barisusakli 3493be4ef0 closes
barisusakli abc7fd54f3 added class to chat messages
barisusakli 0c744a947e chat will use timeago
barisusakli d6223406e9 added space between uploading and number
Julian Lam da1a1d5930 adding callback to settings.load, and omitting password validation check on user creation if no password is entered (e.g. SSO login)
barisusakli 0f66e80a5a added setting to disable notification sounds
Julian Lam 61afee98c3 updates to new settings mechanism, updating markdown minver, minor linting for upgrades.js, and upgrade stmt for markdown migration
barisusakli 10d8eed7b9 closes
Julian Lam 16f1db4f5d fireEvent reflection socket call, tweaks to Sounds page in ACP
Julian Lam 14a0b45ae8 securing settings.save socket listeners behind admin namespace
Julian Lam c1ccc81400 ACP integration for Sounds
Julian Lam eeb3bdc7f7 Merge branch 'master' of github.com:designcreateplay/NodeBB
barisusakli 4cadd8da7a missing radix
barisusakli 367a9aa022 composer jshint
Julian Lam 0ea14324ac adding missing files
Julian Lam 6d03f713c5 "Sounds" tab in Settings page... WIP, needs fixing.
Julian Lam 553cabdcfa refactored sound system so that they can be specified in ACP, updated soundfile to work in FF, which fixes
barisusakli 970639274e fixes image uploads
if images had special regex characters in them upload text was failing
Julian Lam 2826381b20 draft saving in composer -- resolved
barisusakli c320051a1e chat jshint
Julian Lam 4343f240d0 moving async back to proper vendor folder
Julian Lam 2f1707e772 Merge branch 'master' of github.com:designcreateplay/NodeBB
psychobunny 1e9850b6b9 vendor*
psychobunny df29410c08 moving async back to require.js modules/vendor folder
Julian Lam 3dc4fd9fd9 added sounds for incoming and outgoing chat, and new notification
Julian Lam f65a7f96ff moving async to proper vendor folder
Julian Lam a9b78d2600 minimizing the composer should unregister it
Julian Lam f2ffc2b533 properly referencing the tid of the composer instead of blindly checking templates.get('topic_id')
Julian Lam 7ef84e0daa switched to 'ping active' system
Julian Lam b3d7ae1c86 showing who is replying in the active users block
Julian Lam dfd13fac0d Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 44ac7ec262 added new hooks for rendering help messages in composer, removed markdown text from translation
akhoury 1b207d8276 IE8 support, general cleanups, from native to $ objects ...
Julian Lam f5d1ba4231 closed
Baris Soner Usakli e3d01df6a2 closes
Baris Soner Usakli 6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
Baris Soner Usakli d6d9776cde added toPid to posts
Baris Soner Usakli cfe5b6aa4a check if thumEl exists before trim
Baris Soner Usakli 29ba015d69 fixed topic thumbs
akhoury 63c9269240 merged composer and some other files with master
akhoury 25207852e8 added topics thumbnails support
psychobunny 163b0f964e Merge remote-tracking branch 'origin/master' into Widgets
psychobunny 37d673028a added async to client side
Julian Lam 0d7e47ded7 closed
Baris Soner Usakli 8518f26adb closes
Baris Soner Usakli e1f016c075 closes
Julian Lam 3b4985efe5 tx translation update
Baris Soner Usakli 83ad454c3e better error message if image upload fails,
Baris Soner Usakli 92ebf2975a possible fix for
Baris Soner Usakli 0ec9f3835f fixed js error in composer
Julian Lam 9e64f4e303 passing in a picture into notifications now
Julian Lam ef45ae9ba3 fixed the rotating bell in notifications loading LOL
Baris Soner Usakli 075c6c01f2 upload changes, show progres in composer
Baris Soner Usakli c703dba3dd closes
Baris Soner Usakli 4ff62f4e30 closes
Baris Soner Usakli 20dd194171 show error in composer if upload fails
Julian Lam 97e52fd169 adding new client-side hook and post_uuid to composer template
Julian Lam 55b39f1eff second pass,
Julian Lam b6e96541e7 first pass,
Baris Soner Usakli e18d9dc1b4 closes
Baris Soner Usakli 26849ba2b7 added hooks for image uploads into user and admin routes
Baris Soner Usakli 378ccc3cb7 removed imgur from core
Baris Soner Usakli 388532eedc closes
Julian Lam d7b44789fc updating stati to use sibling classes
Baris Soner Usakli 2cdddd2637 closes
Baris Soner Usakli 9e22b7c8fd focus composer text area after drag resize
Baris Soner Usakli 63a3bfd51d after drag focus input in chat, closes
Baris Soner Usakli 97e0e48b07 closes , closes
Baris Soner Usakli 0f5b3ae859 added img-responsive to images in chat messages
Baris Soner Usakli 89e554b333 closes
Baris Soner Usakli 8607ea9a84 notifications fix
psychobunny 24d2ac270c changed notifications code to jq - prevents crashes if notification element does not exist
Baris Soner Usakli ed401de169 closes
Baris Soner Usakli f68b692ce4 closes
Baris Soner Usakli c06320e28b closes
Julian Lam 4ae8824faf tweaks and formatting
Matti Leppänen 98c4b08f15 Merge remote-tracking branch 'upstream/master'
Baris Soner Usakli 71ccd0854d fixes notification header icon
Matti Leppänen 4f495e2b46 quote gets added to the active composer instead of starting a new one.
Baris Soner Usakli 5f0c6e508d some cleanup
Baris Soner Usakli 824c5072e8 topics should be marked read correctly if you are already in it
Baris Soner Usakli 46fb6377ee fixed topic reply if title was 255, better notif text in unread and recent,removed console.log
Baris Soner Usakli aa2978976c notif fix
Baris Soner Usakli 12a5b6b4c6 body margin for composer
Baris Soner Usakli ed1c276739 only drag chat modal from header
Baris Soner Usakli 050ab738e4 fixed drop area top
Baris Soner Usakli 3d30c0bd87 tmp fix for nested if
Julian Lam 5861630dec - removed autocomplete in composer core (now entirely in mentions)
- upped jQuery UI to 1.10.4
Baris Soner Usakli d8e14acbbf closes
Baris Soner Usakli 959e6e83ea closes
Baris Soner Usakli 324bec41c4 chain
Baris Soner Usakli 0db6423c26 closes , fixes multiple composers
Baris Soner Usakli 25b50323fa markdown text in composer
Baris Soner Usakli 48eb6a3f22 composer changeS
Baris Soner Usakli b3816b98a1 more post fixes
Julian Lam 111776d878 notifications socket callbacks
Julian Lam bc48ba874d fixed module.js callback format
Baris Soner Usakli e061978bd5 more fixes
Baris Soner Usakli 67799eac95 removed api: from client side socket calls
Baris Soner Usakli 2d87ba534c can paste images directly from clipboard
Baris Soner Usakli b303fdcfd7 removed inline css
MrWaffle b78dc3eca8 Chat now supports markdown
Baris Soner Usakli 1bf3d33765 prevent clicks on autocomplete to scroll window to the top
Baris Soner Usakli 26274bd75a closes
Julian Lam 2078fa25f8 added classname to chat dropdown if there are no chats
Julian Lam b86ae3f7f0 fixed - sequestering Notifications and Chat DOM functions in their module, and not in footer
Baris Soner Usakli 8bc0096b00 dont closed composer if callback isn't called
Julian Lam a150691b5e that's the last of it!! :D
Baris Soner Usakli 92ca739002 center on load
Baris Soner Usakli 9c60182da4 closes
Baris Soner Usakli d2c0aa9949 fixed auto complete for insertion in the middle, 6am commits FTW
Baris Soner Usakli 2d384a68d2 oops extra $
Baris Soner Usakli 414eaea413 username mention auto completes
Baris Soner Usakli 2e575bb2d8 closes
Baris Soner Usakli 58580bd866 closes , also moved chat to its own template
psychobunny 03c4a1bc73 remove console.log(file) - no more exploding terminals
Baris Soner Usakli 1996e64c9b if imgur client id is not set but local file uploads are enabled use that
Baris Soner Usakli d43f3cebc6 closes , closes
Baris Soner Usakli 8cfb239aac closes
Baris Soner Usakli 6c30437c47 closes , refactor admin image uploads, fixed gif uploads
Baris Soner Usakli a55fc364a0 closes
Baris Soner Usakli ba2f47ead6 closes , closes
Julian Lam b52782deb8 removed use of strip_tags and using String library instead
Baris Soner Usakli e9fbed71ae closes , fixed allowRegistration incase its undefined
Julian Lam 2f1a3b9789 enabled touch events for composer resizing -- composer is now ipad
supported!
Baris Soner Usakli b6d4ae2732 removed mobile menu
Baris Soner Usakli 680dbf138a closes
Baris Soner Usakli 845e5e7986 no need to store taskbar
Baris Soner Usakli f29b375ed4 refactored composer so that it uses a different div for each instance, closes
Julian Lam 07f1e0bcb5 ninjafix -- if you don't have a saved composer width, it doesn't set a
width (default ot 50%)
Julian Lam 1e6863ee19 adjusting snap guide sensitivity
Julian Lam 00eb6b4efc responsive fixes for new composer
Julian Lam 002826d84f resizing the post composer now saves the size for future windows
Julian Lam 289e081e2e fixed new composer posting (woot)
Julian Lam 83f20c1cdb OMG SNAPS
Julian Lam 99fba3b83a fixing issue where composer pushing didn't wait for the template to
properly render :P
Julian Lam f2d631e42d new composer window template (WIP!)
Baris Usakli 95495926fc some fixes to composer image upload
Baris Soner Usakli 6aeca98cd4 closes
Baris Soner Usakli 34fc326a37 closes
Julian Lam b81737bc0f moved refreshTitle into app.js, messaging someone now invokes an alternating title, hehe
Julian Lam 030ce95dea closed - added "active chats" dropdown to header
- some minor tweaks also, to make taskbar work a little better with chats
Julian Lam fe4aee177d lots of tweaks to chat and taskbar
Julian Lam 16e07d475f pushing FA icon for chat taskbar title
Baris Usakli 541993c80a fontawesome 4 migration, closes
psychobunny 22a3794c51 closes
Baris Usakli bbb045698d closes
Baris Usakli 25e6f72921 closes
Baris Usakli f4faee4283 moved image uploading to a require js module, added image upload to site logo
Julian Lam 1ee24517e3 enhanced the "discard post" confirmation message to only trigger if
something in the post body actually changed
Baris Usakli 0c5937805b clear uploads in progress if discard is clicked, temp fix until composer is revamped
Baris Usakli 8e4ca8e474 closes
Julian Lam 8dd8536f6b closes - hitting discard on a post with content will now throw a
bootbox confirmation modal
Baris Usakli 564662ee00 closes
Baris Soner Usakli b0a37c6ac5 closes
psychobunny 31624b32e9 footer no longer overlaps composer; fixes 272
Baris Soner Usakli a88ddc2a4d fixed image upload
Julian Lam 45d5524df7 fixing minor errors in css in composer
Baris Usakli d2eb73df96 can add and remove images from posts
Baris Soner Usakli 106157a951 removed commented out line
Baris Soner Usakli 54ba6efc93 can edit and add an image to a post, still cant remove previously added images #issue
Baris Soner Usakli cc1f668308 changed chat online offline messages
psychobunny bb8f75b4be merged.. conflicted up the ass. registration looks gud again
Baris Usakli 6a08fedf18 closes
Baris Usakli 8a4a0154f6 closes , closes
psychobunny f251b9c6c5 Merge branch 'master' into bootstrap3
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.
Baris Usakli 79c9bdba7f removed console.log
Baris Usakli 0a485a7ff6 closes
psychobunny 0f8aad52b2 updated all alert-error to alert-danger (wtf did BS3 need to change that?)
psychobunny 8be896aebb label-important to label-danger
psychobunny 4373037071 fixed composer window having 0 width; recent replies looks gud again
Baris Soner Usakli a95582b382 closes , closes
Baris Soner Usakli ff805a704d closes
Baris Soner Usakli f83be710a0 closes , ,
Julian Lam 3933549659 committing fixes to composer window
Baris Soner Usakli 46afbc0ba0 assorted config fixes
Julian Lam 336345ee83 closed
Julian Lam 1752be237b minor style changes to the composer (moved buttons to the bottom as well)
Baris Soner Usakli 6865eb9f0f changed the drag and drop image upload, closes
Baris Soner Usakli 8947553ecd closes
Baris Usakli 676765278e closes
Julian Lam 81cfe0c8d0 Merge branch 'master' of github.com:designcreateplay/NodeBB
fixing missing height in post-window, removed for some reason

Conflicts:
	public/src/modules/composer.js
Baris Soner Usakli 919efd4052 drag and drop image upload first pass
Julian Lam a66f2dfabe minor tweaks to positioning of composer window relative to taskbar
Julian Lam 18c991fd42 restyling composer window to be smaller widthwise
attempted to fix vertical-alignment of post_window relative to taskbar
Baris Soner Usakli f90eb72706 added minimum lengths into error messages
Baris Soner Usakli f7d27cdef1 nconf fixes
Baris Usakli 8d21d4f998 closes
Julian Lam 0e854119c6 removed duplicate id in topic template, closed , where opening a couple threads caused the reply window to load multiple times
Baris Soner Usakli 62ef925fd3 removed graph/picture, closes
Baris Soner Usakli d7597608d5 fixed login register logout
Julian Lam 37334e2910 fixing bug where clicking on a taskbar item would cause the page to re-ajaxify (due to href="#").
closed 
Julian Lam b1e4aecdb0 addressed issue with taskbar weirdness
Matt Smith 719dedd72b Moved reply topic unlock
Matt Smith 60dfed79c1 Fixed Reply locking New Topic title edit
psychobunny dbf7887cc6 fixes issue
Baris Usakli 9309722898 fixed indents
Julian Lam ac5b7c02f8 hiding the minimize button for mobile/low resolution users - fixes issue
Baris Usakli 2498c5c486 fixed taskbar for chat so it doesnt show multiple taskbar buttons for the same person
Baris Usakli 38e1b39c2d chat windows added to taskbar
Baris Usakli ffbd777642 moved chat code to its own module
Julian Lam 9fb8701f4f added a new option "state" to taskbar push... set to 'active' to have it
load in an active (darkened) state, while 'pulse' will have it pulse
between darkened and light states
Julian Lam dd4bc61b5a allowed clicking on the taskbar button itself to minimize
Julian Lam 9d3a27ea17 splicing out taskbar related code into its own require module
Julian Lam 05b91caf6c noscript for home and category view (although it's not quite working for
category view yet)
Julian Lam 7e55e7b3d2 fixing quoting that broke with the introduction of the new post window
Julian Lam 49ea40f6ee tweaks to composer pushing, fixed random extra letter in footer js
psychobunny 97ea98ed3f topics: reply button in mobile menu + icon
psychobunny 5bb9933f4a added functionality to post button. also introduced some underlying concepts regarding modules and pulling template vars
psychobunny 2ffd436745 improved animations for mobile menu
psychobunny 54f86a912c mobileMenu module (categories menu), fixed bug I made in account.js when moving code to their own files,
Julian Lam 6f16088cd6 cleaning up readme file and fixing bugs in editing of posts ("asdf" anyone?)
Julian Lam 89d484c4ca removing old post_window (!!) and fixing default focus when the composer is loaded
Julian Lam 82736d8780 editing of posts using new post window
Julian Lam 061c7a9e66 half broken editing
Julian Lam 676ddcd3e3 integrating the new post window into the forum
Julian Lam 446bd3a022 constructing posts window
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.