- Fix sound ACP uploads
- Display soundpack names with sound files
- Soundpacks can have sounds with identical names
- Link sounds during build step
- Generate map of sound name to file name during build step
- Change how soundpacks work. It's now done via a field in plugin.json
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
- Replaced minfied bootbox file with unminified one since it's minified at build anyways
- Removed existing override
- Made translator more verbose in dev mode; it now warns about missing translations
* Use standard language codes. Fallback for plugins.
* Fix transifex config
* Tab vs space here for some reason
* Remove redundancies
* config.relative_path instead of allcaps
* added upgrade script for existing users' accounts
* Rewrite translator for efficiency and clarity
* Fixed failing tests
* Gorram tabs
* Move cache to Translator class, simplify creation
* Documentation and linting
* Use new translator API where it makes sense
* Revert 499fbe21fdd5b7f2735a27e76a300f69039cfbd3 (except translator.d.ts)
* promise polyfill for node<4
* Set `load` on the prototype
* Comment on Translator#translate
* Delete translator.d.ts
* Support translations added by plugins
Added new core component for topic with a specific tid
To use
```javascript
var topicContainer = components.get('topic', 'tid', tid);
```javascript
in a view with more topics / posts
Introduced new method ".loadImages()" in posts client side lib
to handle viewport height changes when loading images. Requires
nodebb-plugin-markdown@5.0.0
@BenLubar @boomzillawtf
The old behaviour would scroll the post anchor to the midline, but
this was inferior UX for long posts since the top half of the
screen is essentially stuff you didn't want to see.
The new logic is as follows:
- If the target post is smaller than the browser viewport, it will
scroll in such a way that the entire post is vertically centered
(post midline matching viewport midline)
- If the target post is larger than the browser viewport, it will
scroll in such a way that the top of the post is located just
under the navbar, maximizing the target post's content.
- Updated themes to relocate their anchors to in between posts
If you `require(['string'], function (stringLib) { S = stringLib; })` it is an async call and thus you need to ensure any usage of `S` happens when this is resolved.
- Fixes issue with parentheses in translations (closes#4107)
- No longer marking translation keys invalid if they contain HTML,
as that was probably not performant. Instead, parameters will
simply be escaped via the StringJS library.
Guests now trigger topic notifications, and the translator has
been updated so that translations inside translations are
handled in a way that doesn't cause the translator to explode.
Closes#2668
commit 3d4f494ed3257bceda8f6f82057cab83f0f252b3
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Dec 11 12:06:42 2015 -0500
theme minvers for #2668
commit b608ce61854f8195143685bb9753b80d32b26e95
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Dec 11 12:01:03 2015 -0500
Allowing chat modal to edit and delete messages
re: #2668
commit 0104db90a4070582f3938b6929dae35f985bac35
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Dec 11 11:51:23 2015 -0500
Fixed issue where newSet calculations were off
... sometimes.
Also, rendering of edited messages now parses a template partial,
instead of just replacing the content.
commit 5cb6ca600425ca9320c599b32306e93dcc5aa4ce
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Dec 11 11:07:12 2015 -0500
If edited content matches existing content...
... then edit is aborted.
commit 6e7495247b1895589c716db29f919a934087b924
Author: Julian Lam <julian@designcreateplay.com>
Date: Fri Dec 11 11:05:08 2015 -0500
some linting and fixed issue where new msgs when deleted would crash server
commit db4a9e40d6dff44569c2437378121db8fdf75cf8
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 8 17:25:56 2015 -0500
Message deletion for #2668, and fixed bug
Fixed bug where chat modal would spawn even though user was sitting
on the /chats page.
commit a5aa2498ab4a8bba02a6daa43a9dbed7b3e37976
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 8 14:55:23 2015 -0500
wiring up the edit button, #2668
commit 5f2afdcf6f2b9eae6b5873ca100149e65e3d385d
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 8 14:20:39 2015 -0500
added indicator to show if and when a message had been edited
commit e8301132d525c1b9fd46c98cdb282ac7ea7a0d7f
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 8 14:06:39 2015 -0500
Allowing editing of chat messages
commit bfd991be1cb1769599f7d5d2b1638e313c3c2dcb
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 8 10:33:49 2015 -0500
Added messageId to messages object return
commit 0306ee6657b3288dd4547c66869d7d4ece0b31ad
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 8 08:20:17 2015 -0500
WIP #2668
Initially, the removed block of code was used to stop the chat modal
from popping up altogether, since the /chats page was usable on
mobile. Since the re-design, only the contact list is shown on
mobile, leaving the modal as the main way to communicate. So, this
intercepting code is actually interfering now.
As I did not realise both groups and users call the same
coverPhoto lib, the removeFn has to be in the user client js,
and not in the coverPhoto lib.
... of course, it *could* be in there, but it would be hacky.
commit 56582bc9eee5d81a01f42a28808b617b9c96873a
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 05:21:11 2015 -0400
added missing template
commit 6462a1626e7d8d77210b6e10eace5c9214335f33
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 05:19:07 2015 -0400
sitemap index
commit 3cfd56f1fbc8e03405dc394375bf5ff6eef21322
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 04:47:52 2015 -0400
sitemap routes, controllers, and library methods for pages, categories, and topics
commit e58e07c0881bdbe16d503b4679b85f761b02163c
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 04:07:39 2015 -0400
added groups to sitemap
commit 7ee584b632
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 01:43:06 2015 -0400
If notification dropdown is double-clicked, all notifications are marked read
commit 488f147bef
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:39:19 2015 -0400
closes#3781
commit 5e1bd58a02
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:28:30 2015 -0400
closes#3782
commit 57d3980267
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:16:08 2015 -0400
closes#3790
commit 555c5b82da
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 21:19:20 2015 -0400
check user settings
commit 5454862c1c
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 20:26:02 2015 -0400
wait for all callbacks when creating tags
commit 051c5077eb
Merge: 839fd93e0e04ef
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Mon Oct 26 09:54:12 2015 -0400
Merge pull request #3792 from drlogout/master
Fixed wrong method name in socket.io/groups.js from isAdmin to isAdmi…
commit e0e04ef892
Author: Christian Nolte <hello@noltech.net>
Date: Mon Oct 26 14:50:32 2015 +0100
Fixed wrong method name in socket.io/groups.js from isAdmin to isAdministrator
commit 839fd935ad
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 21:54:35 2015 -0400
add back thread tools filter
commit 37060bf1a3
Merge: 5820a19bf918bd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Sun Oct 25 18:13:06 2015 -0400
Merge pull request #3787 from cubehouse/patch-1
Upgrade script fails on some consoles
commit 5820a193f6
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 17:04:46 2015 -0400
closes#3789
commit 0d88d52557
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 17:03:33 2015 -0400
up theme
commit 9bc43ba5e1
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 16:57:42 2015 -0400
closes#3788
commit aafd4b6984
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 15:56:17 2015 -0400
closes#3786
commit bf918bd016
Author: James Holding <cubehouse@users.noreply.github.com>
Date: Sun Oct 25 10:14:00 2015 +0000
Upgrade script fails on some consoles
The upgrade script errors/fails on some consoles if the stdout.columns isn't set (my console did this when upgrading a Docker instance of NodeBB).
Checking for stdout.columns before using, falling back to a couple of spaces for slightly prettiness if we can't work out the console width.
* simplify calculation (scrollTop vs elementInView)
* use post anchor rather than create big $ objs from post html
* pressing f5 repeatedly now always takes you to the correct pid
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.
This commit also creates a new template helper for link tags.
- Removed 'fa-doesnt-exist' icon
- Added a icon filter search input
- Added a "No Icon" button at the bottom
- Added link back to full FA list
- If icon is picked, it shows the icon class in the search input