Commit Graph

854 Commits (51adcc479cdd2bd428c3c53beaa78733b473d19d)

Author SHA1 Message Date
psychobunny 1d94b6a96f closes
Julian Lam ee7d356781 Merge pull request from yariplus/settingsobject
Add object setting plugin
Barış Soner Uşaklı c9b5948034 closes
Julian Lam 2000947cd6 fixed
barisusakli 8c7ded3062 closes
barisusakli cf825d02b7 escape title
psychobunny 3ec99b8021
psychobunny 1201425db2 hint
psychobunny e78fc98146 cross-browser support for composer resize animation
psychobunny 4d414d0b63 .category-box and .post-preview now components
barisusakli 427dda654a temp fix for
psychobunny 59909894fc closes
psychobunny f601bdee5e Merge branch 'master' of https://github.com/NodeBB/NodeBB
psychobunny 97419bbdd9 closes
barisusakli b2fad172e5 closes
Barış Soner Uşaklı 5fda8422c5 fix focus
barisusakli 0d515803e4 fix post edit
barisusakli 9d026919ac closes
Barış Soner Uşaklı dadbda98b7 closes https://github.com/NodeBB/nodebb-theme-persona/issues/52
barisusakli 5f2271e4e0 closes
barisusakli 0d839bdb2c parantheses
psychobunny 7563e9aba1 added localStorage for preview toggled state
psychobunny e1ff3deaf0 move preview toggle function into composer/preview.js
psychobunny bc4e5371d7 Merge pull request from MegaGM/fixcategory.images
fix: category images (helpers.generateCategoryBackground)
psychobunny 232d1aae31 helpers.getBookmarkFromIndex
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global
Julian Lam 16c6578bdb updated components to be a require.js module, not a global (:rage2:)
Julian Lam c706638b5d updating groups access control so:
1. Guests can no longer receive the moderate bit
  2. If you attempt to grant the moderate privilege to a public group, a confirmation modal appears
  3. A lock icon is present next to all private groups
barisusakli d27ec057c5 closes
Julian Lam d249a46fae fixed around event handling for composer submit button, and upped vanilla minver
barisusakli 65bdeba385 helpers.js fix maybe
Mega 8b48a1e3af fix: category images (helpers.generateCategoryBackground)
psychobunny 7c7b43d295 semicolon
psychobunny 789418f987 stripTags and escape template helpers
use it like so {function.stripTags, title}
see vanilla or persona topics_list.tpl for more info
Julian Lam d95f5a9ae0 added help block to category purge button, updated iconSelect library to use templates in a better way, hooked up iconSelect for category mgmt,
Julian Lam 9b84a887d3 a huge frickin' number of changes for . This is part of
Julian Lam a1621145d5 Merge branch 'master' into categories_revamp
Conflicts:
	public/less/admin/admin.less
	public/src/admin/manage/categories.js
	src/controllers/admin.js
	src/views/admin/manage/categories.tpl
	src/views/config.json
psychobunny d39c2924e4 found a rogue topic class selector
barisusakli 4c31535c4b closes
psychobunny 4ca6364dd4 removed .category-item selectors
psychobunny 10eb617c6d category and category/topic components; removed #topic-container selectors
Barış Soner Uşaklı 0cc900bdcf closes
barisusakli 5bc2e7dac2 closes
psychobunny 51745568df removed the rest of the .post-row selectors in favour for components system
psychobunny 567d171d2f jshint
psychobunny 6439147586 updated core to point #post_container and .post-row to its respective components
psychobunny eba0f32913 post/anchor component
psychobunny e08f34e79d function.generateTopicClass
psychobunny 412c5360a6 allow timeago to be cast on other elements as well, ex. small
psychobunny 82ac542f55 helpers.generateCategoryBackground
psychobunny f7f048f06a when toggling composer preview, autofocus on composer
barisusakli 2f688136d1 closes
barisusakli b37bcc6dfe closes
psychobunny dfe48fffb1 composer fixes when resizing window horizontally
psychobunny 2f05ec7de0 closes and
psychobunny 8d313d2f16 return composing state to normal after discard/posting
psychobunny 9262c8b9f6 after selecting a category in composer, auto-select the next field
psychobunny 83f89e9537 made action bar button less restrictive
psychobunny 31368ac974 on mobile, resize composer textarea as you type so it doesn't constrain the editable view
psychobunny 7227dfd704 add composing mobile classes if composing on mobile
psychobunny 7282bbafb2 removing composer-mobile.tpl
was totally a bad idea.
Barış Soner Uşaklı 940c33c426 fix js error removed dupe code
psychobunny eb733fdb6f toggle preview button on composer
psychobunny daf9999a29 prevent composer from going too low
psychobunny 6059165a54 if composer:resizePercentage hasn't been set, default to half the page
psychobunny 0913dbbade added a border effect on max'd composer
psychobunny 49a173bdf0 last bit of fixes to composer
psychobunny bc9d7f2922 fix so that mouse is always on the handle
psychobunny 5b56157403 composer refactor part 1
removed lots of hardcoded values; used translate 3d instead of height
for smoother dragging; various optimizations; snap to top functionality
psychobunny bd99124fb9 refactored write preview code
psychobunny da758c429a remove hardcoded z-index; give composer a "maximized" class if maximized
psychobunny b56e862838 removed hardcoded fa-chevron icons from client js
psychobunny 1ec1c5a366 fixes composer maximizing
psychobunny fcc8093fa6 show discard prompt
psychobunny e47c375e69 closes
Julian Lam 4360069859 fixing buttons on mobile composer, and updating format so tags button only appears on mobile
barisusakli 2a8437f08f removed templates config and mapping 🐑
yariplus 1102f40873 Add object setting plugin
Allows objects to be added to a plugin's settings using a tag with a JSON-like syntax in data-attributes.
A complex object can be created by using an array or another object as a parent, the object will be added to the parent array or the parent object's declared property instead of as it's own data-key.
psychobunny 9bf55c96d2 closes
barisusakli 01b012d89d
psychobunny a59b932020 displayUsersLink deprecated
barisusakli f7f453f8cd closes
Julian Lam 6a32a0f399 closes
Julian Lam a3bc5d2037 fixing bug where the nav dropdown didn't close when a chat was opened
Julian Lam 5173fd7138
Julian Lam a2c6f58782 fixed issue where an updated alert didn't contain changes to the clickfn, closes
Julian Lam 339619fc9d
Julian Lam 00f3084b8e closes , closes , closes , closes , closes , closes , closes , closes
Squashed commit of the following:

commit ca5064a4effa3904ce936b521b169bba8d24f1a1
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 26 08:19:32 2015 -0500

    Revert "added ajaxify popstate cache, so back/forward will just put back the already loaded page"

    This reverts commit 77d154bb8b.

commit ae07fc56c156074de8048bb627f5d9be849c8ad1
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 26 08:19:24 2015 -0500

    Revert "on click, topics are marked read from the unread page. Also fixed an issue where isPopState kept getting set to true, causing issues"

    This reverts commit d8c9ec0d40.

    Conflicts:
    	public/src/client/unread.js

commit 96ee3631d7e4e1fc2c1b7632d86684fecd1e430f
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 26 08:18:25 2015 -0500

    Revert "actually fixed isPopState error"

    This reverts commit e6701c5a1f.
psychobunny 241f5b0224 linted client side modules
barisusakli a0c3ddc555 fix navigator
psychobunny b1f835b053 Merge remote-tracking branch 'origin/master' into sortable-menu
psychobunny 2ff59278c9 navigation cleanup
Julian Lam f00589c8ba removing 'see all chats' from chats list, as it is in menu.tpl now
psychobunny a9f175a2bb ability to sort navigation
psychobunny a2e3179ea4 nav - enable / disable
Julian Lam e6701c5a1f actually fixed isPopState error
Julian Lam d8c9ec0d40 on click, topics are marked read from the unread page. Also fixed an issue where isPopState kept getting set to true, causing issues
Julian Lam 77d154bb8b added ajaxify popstate cache, so back/forward will just put back the already loaded page
psychobunny 40008a9e85 Merge remote-tracking branch 'origin/master' into sortable-menu
psychobunny 6cea047518 loading navigation, complete
Julian Lam 3202a52a61 refactored notif dropdown,
psychobunny ecad9d54ed tjs 0.1.19 for undefined key cleanups
psychobunny 6dacaf6bb5 helpers.displayMenuItem
Julian Lam 29873f1c5c removed unused .getAll method, and sorting notifications client-side so that unread notifs don't all appear at the top,
Julian Lam 948cd22e9c triggering full-screen composer on short viewports as well as narrow,
Julian Lam 03e39f7b9b isInvited mechanic for
Julian Lam 58094d2b3b removed console logs, and requiring markdown 1.0.0 plugin
Julian Lam ceb18fe73d added new hook and method for plugins to introduce their own formatting options,
Barış Soner Uşaklı 743cd20441 closes
Julian Lam 350acde379 ability to mark a notification read/unread from dropdown list, made styling less bootstrap-locked, using FA icon in theme instead of hardcoded in template
barisusakli aa94dafac1 closes
barisusakli 60efeb8561 fix nid
barisusakli 31a44a9982 dont use fa icon
Barış Soner Uşaklı 276cd51836 closes
Barış Soner Uşaklı 0421b6ef06 closes
Barış Soner Uşaklı d20628a8d4 closes
Barış Soner Uşaklı c98720ee4c show results as WIP
barisusakli eff1256dfb search sort, search in posts, titles, posts& titles
Julian Lam 957415463f Merge branch '0.7.0'
Conflicts:
	package.json
	src/search.js
barisusakli 38dd3d4281 search newer/older than and better pagination
barisusakli 161b934827 reply count filter atleast/atmost
barisusakli def600e927 search in categories and children
barisusakli 255f50343c closes
Julian Lam 8bc2d97352 stringify helper for t.js
barisusakli ddee93beab Merge remote-tracking branch 'origin/master' into 0.7.0
Julian Lam a3cadff1d3 updated settings module (v2) to fix multiple selects and checkboxes using name instead of id, which isn't always guaranteed to be set.
Julian Lam d096a639d6 fixed -- there's a slight chance this might break other ACP pages, but my limited testing tells me it is ok so far
Julian Lam 093e499bf8 defining module name in iconSelect module
Julian Lam 56200b0fdf defining module name in iconSelect module
barisusakli ea3d7d610a Merge remote-tracking branch 'origin/master' into 0.7.0
Julian Lam 99dc37bd9c removed relativeTime util method, utils.js better be a C now.
barisusakli b333653464 prevent js crash if responseJSON is undefined
Julian Lam 50ac813388 Merge branch 'private-groups', closed
barisusakli 02dbce57fb relative path fix missing ;
barisusakli 200f74f1c7 closes
barisusakli 456b844e61 closes
Julian Lam 612b8f01b6 Merge remote-tracking branch 'origin/master' into private-groups
Julian Lam 69ed8ac45d icon selection interface -- moved iconSelect module out of admin space,
barisusakli 0305ad989c match uploader return
barisusakli f74383bba4 changed userPhoto to files[]
Julian Lam 71b41239ac attempting to join a private group causes the join to be pending,
barisusakli a77a761433 closes
barisusakli ce9c17f8e5 ability to search posts by user
Julian Lam b685194dae updated helper loading so it loads all helpers in helpers local var
Julian Lam aa62c52580 closed
barisusakli 60f1b9679a search filters
Julian Lam 9b8cc9fe6c partial revert of 659d0f68cb,
Julian Lam 835886998b having composer/resize call findBootstrapEnvironment only on the first resize method call, and not right when library is required,
Julian Lam 659d0f68cb possibly fixing issue where mobile composer textarea is not properly sized when initially opened. Sort of related to
Julian Lam 23b9b21cdd better handling of guest handles in frontend,
Julian Lam 9befa6aca7 proper handling of post editing, integration with ACP toggle,
Julian Lam 325815a78d showing guest handles in frontend UI
Julian Lam 7dc309fc16 template in composer
barisusakli 3bdb98e747 closes
barisusakli 81a5a4cfe0 removed global var
barisusakli 7ae7c50f56 app.user
Julian Lam 0b58e2fea3 minor tweaks to in-topic searching UI,
Julian Lam 067d1ae404 adding client-side hook whenever composer renders a preview
Julian Lam b06ff89e02 adding missing file, re:
Julian Lam deac12c540 closed
barisusakli 32e08ba419 closes
psychobunny 2a88e08977 and one last derp
psychobunny 556d817cc5 forgot to return
psychobunny 458ee7cca8 acute ocd attack
psychobunny bfaeee2531 linting
psychobunny b511bc37fb don't initialize taskbar until dom is ready
Barış Soner Uşaklı 36ac6f849f Merge pull request from joe1chen/bug-fix-topic-search
Bug fix - Topic search broken due to encodeURIComponent being called too early
psychobunny b480bff3fd moved taskbar markup out of JS and into modules/taskbar.tpl
barisusakli d9d44aee2b
barisusakli b3544f644a relative path upload fixes
Joseph Chen f02fd88eaf Bug fix - Topic search broken due to encodeURIComponent being called too early.
barisusakli 2e1a098cfa fix multi selection if category has sub categories
Julian Lam 74630b3a79 closed
Julian Lam 93f414892b closed
Julian Lam e0436d73c3
Julian Lam 8e0e2a04be restored the toolbar on mobile composer,
Julian Lam dfc7c7aa7f :shipit:
Julian Lam 0e9fdc9a09 fixed -- chat modal now opens, but input is disabled
barisusakli e09328c74d
dont bring modal to front if u receive a message
barisusakli 38874345b7 closes
barisusakli 6353ed57a9 duh fixing my fail from last night
barisusakli e97bfc139b
Julian Lam adfb89a2ad closed
barisusakli 433769eb36 closes
first tab (recent) shows last 50 messages instead of just last 24 hours
barisusakli 1b268c94c0 if there is no postData.tid dont notify, ie topic post
barisusakli 4c90c9a759 closes
barisusakli f295083a08 fix upload error messages
psychobunny a24dde863b moved src/client/modules/admin/selectable to src/admin/modules/selectable
barisusakli e95c68e7d6 fix bookmark
psychobunny 8abf2835a5 removed modules/admin and moved mousetrap + keybindings out of client
barisusakli e1f67052d0 closes
psychobunny 7396c363d7 press / to highlight search input box
psychobunny ba4392cda0 selectable - shift clicking deselects items in a group
psychobunny eb5630caa7 refactored selectable to use 'selected' instead of 'dropped'; fixed position relative bug
psychobunny 7a2ccf6031 hardcoded parentElement by accident
so that's why it doesn't work on other pages. derp
psychobunny 9c67d5742e added event callbacks for onSelected and onUnselected
psychobunny 13c9da6bff selectable - click/shiftclick to select as well
psychobunny bcdb87f488 fixed selectable
psychobunny 2db93c9219 created selectable module for selecting / grouping elements
barisusakli 6a996bd718 closes
Julian Lam 1eb9016a77 fixed
barisusakli b8df95da98 check message
Schamper 883422760d Fix settings save message
Julian Lam 625247611b closed
barisusakli cd99654477 closes
psychobunny d081ecf368 fixed chatModal centering
psychobunny da0eff6a4e double click the chat header to maximize
barisusakli 48c3619028 lowered chat zindex
barisusakli 8c600ae15d stop tag autocomplete ajaxify
Julian Lam aee8b87385 composer tweaks, hiding navbar when mobile composer is open
barisusakli f377868764 closes
barisusakli 63a7766ac1 closes
barisusakli 0f258859a7 closes
barisusakli 4066607388 closes
Julian Lam 8bac0bf361 Merge branch 'csrf-excision' into hashtalk
Julian Lam a061079995 fixed all POST routes to use new csrf middleware
psychobunny ca7f35dd5e trimming alert title/message
barisusakli 9a96458f79 closes
barisusakli 493d0dea1e part 1 of notif refactor
Julian Lam 40e5ad075f started work on
barisusakli 273db693e7 closes
barisusakli b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
barisusakli 6b39e328f5 chat fix
barisusakli e495db3065 dont make a copy of chat message
barisusakli 625766ba85 dont send typing notif on each keyup
barisusakli 171f02101d closes , closes
barisusakli ae6d5e72f4 closes
Julian Lam 1f06e4f5a2 added secret key bindings for admins to reload and restart their NodeBBs :shipit:
Julian Lam 063a4e5628 finished up UX integration for in-topic searching, added mousetrap lib to capture ctrl-F only in topic view, closed
Julian Lam 5d22806ded more topic searching work (working example, needs UX tie-in)
Julian Lam cd10248226 basic topic searching via search bar working
barisusakli fdf19f9025 closes
barisusakli 69ce425ae5 closes
Julian Lam e497290dbc removed commented-out code
Julian Lam fcbdc5e271 added recompilation of templates to NodeBB Reloading -
barisusakli c57b0a2199 closes
barisusakli ca90afd544
(drunk) not even done yet
barisusakli d852f284da closes
barisusakli 1cf5c3145a doing it properly this time
mainPost always has index 0
barisusakli 41ed52a414 moved newlines from language file to core
psychobunny eb297d7eab client side hooks: action:composer.topics.post, action:composer.posts.reply, action:composer.posts.edit
Filips Alpe 378fd095eb Leave the chat window within the screen
On smaller screens, the top of the chat window can appear so high that it is outside the screen, this fixes that.
Julian Lam 77e0cb170f removed console.log
barisusakli da780cdee7 closes
barisusakli 6e335ff29a removed debug
barisusakli f71bd41408 more fixes
barisusakli d7520508e3 part1
barisusakli 297f523f18 closes
barisusakli e961e3c552 reduced hightlight duration by 2 seconds
Barış Soner Uşaklı 485f14ef7f Merge pull request from frissdiegurke/patch-2
[Settings] fixed data-empty usage within checkboxes
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