Robin Ward
1af2ff6201
ES6: More components moved over.
2014-05-30 12:28:05 -04:00
Sam
fe594f5d1e
Merge pull request #2372 from vikhyat/badge-system
...
Multiple grant badges
2014-05-30 10:18:00 +10:00
Robin Ward
8132e9cecb
ES6: Just a few components today
2014-05-29 11:21:00 -04:00
Sam
4b4d775ad9
Add quote post
2014-05-29 16:09:31 +10:00
Sam
2d9db9ebc9
BUGFIX: j/k navigation was scrolling stuff in insane ways on first press
2014-05-29 15:58:05 +10:00
Sam
bb887964b1
BUGFIX: j/k now goes to the suggested topic list correctly.
2014-05-29 15:38:06 +10:00
Robin Ward
f9ca13b33b
ES6: Migrate a few components over
2014-05-28 15:10:23 -04:00
Robin Ward
5284fb7cbc
New Setting: Don't jump to new posts when replying
2014-05-26 16:39:03 -04:00
Robin Ward
e5a8c606d4
Add primary group class to the username too
2014-05-26 11:14:57 -04:00
Sam
570c4b6300
certain keyboard shortcuts were never tested ever.
2014-05-25 14:59:05 +10:00
Sam
c529cc6f1f
wow, just wow, this has been broken for so long
2014-05-25 14:40:39 +10:00
Sam
e06da1821d
BUGFIX: notifications were not updated correctly live
...
- missing notifications when multiple replies in topic (till refresh)
- not cleared properly on click
2014-05-23 11:34:34 +10:00
Robin Ward
3f6bf2fda0
FIX: Home key was broken due to some HTML changes
2014-05-21 07:30:47 -04:00
Vikhyat Korrapati
d208e4d517
Multiple grant badges.
2014-05-21 12:54:55 +05:30
Sam
8bc8052ab8
BUGFIX: show usernames logic, logic failure
2014-05-19 09:11:01 +10:00
Robin Ward
417fdeaad8
FIX: Allow clicking on the (+) icon as well as the link to reply as new
...
topic.
2014-05-16 11:25:49 -04:00
Robin Ward
93b2af8a6e
Pass the post to any events bound to custom names
2014-05-14 15:21:11 -04:00
Robin Ward
152dc499e1
New poster-name component, designed to be extended to add additional
...
information.
2014-05-13 16:56:25 -04:00
Sam
084ec87850
FEATURE: admins can invite users to groups via the web UI
2014-05-09 18:22:36 +10:00
Robin Ward
fbda9cac69
FIX: Reply as new topic was broken
2014-05-07 23:28:14 -04:00
Robin Ward
76cb4bf0a5
Roll up gutter links, don't show reply as new topic unless expanded.
2014-05-07 12:28:38 -04:00
Robin Ward
9e719e49da
Only show a few topic links in the gutter and allow the user to expand
...
them.
2014-05-06 14:11:17 -04:00
Robin Ward
cf6cbb955b
REFACTOR: Introduce Discourse.computed.setting to create a computed
...
property that links to a `Discourse.SiteSetting`
2014-04-24 18:36:02 -04:00
Sam
2d123ef1c7
REGRESSION: sortable columns were missing sortable class on first render
2014-04-24 11:24:58 +10:00
Robin Ward
b3ed8b6a32
Use query params for sortable table headings
2014-04-17 10:52:57 -04:00
Vikhyat Korrapati
057c56ef9b
Add user-badge component.
2014-04-16 18:08:00 +05:30
Sam
668a5ff526
FEATURE: lock icon for archived topics
...
remove model sniffing hack
2014-04-11 10:27:04 +10:00
Régis Hanol
d0591c18f8
Merge pull request #2245 from ligthyear/category-double-selection-fix
...
Bugfix: double selection of categories in user preferences
2014-04-10 10:52:57 +02:00
Sam
cd8b30bfcb
BUGFIX: clicking on home was broke
2014-04-10 18:31:39 +10:00
Benjamin Kampmann
72a6566bfd
Prevent user from selecting the same category twice for different notification levels in their preferences
2014-04-10 10:08:59 +02:00
Sam
b9d4edd91a
FEATURE: display unpinned state, allow unpinning by clicking on pin
2014-04-10 10:59:02 +10:00
Arun Israel
9ced796674
[bugfix] Fix for '/' keyboard shortcut putting '/' into search input
...
Changed the search button binding from a click binding in mousetrap.js to a function binding.
Added a showSearch function that uses jquery to click the '#search-button' element
and the function returns false preventing the default action and stops the keydown event
from bubbling upwards.
Meta Discourse Bug Thread: https://meta.discourse.org/t/shortcut-for-search-leaves-a-in-the-search-field/14394
Mousetrap reference: http://craig.is/killing/mice
2014-04-05 01:38:00 -04:00
Neil Lalonde
86244e3a4b
New sub-category badges in category chooser. Normalize category badge rendering code.
2014-03-25 17:29:59 -04:00
riking
834a721bbe
Remove two noop backslashes in regexes
2014-03-18 18:24:36 -07:00
Robin Ward
c430c6dd30
FIX: Only add home class when there is no badge
2014-03-10 13:31:07 -04:00
Régis Hanol
2a99f1b15e
BUGFIX: HOME/END keyboard shortcuts on non-topic pages
...
This make sure both HOME/END keyboard shortcuts are only applied when viewing a topic
2014-03-05 16:08:45 +01:00
Robin Ward
0c45cf1ee7
FIX: Allow closing the category dropdown when clicking on the same
...
category
2014-02-19 14:17:38 -05:00
Robin Ward
3f3c07f136
FEATURE: Can bulk update the notification level of topics
2014-02-18 13:02:22 -05:00
riking
19922ff174
Have keyboard_shortcuts use Discourse.TopicView.jumpToPost
...
Instead of _scrollList, which is more appropriate on the topic list.
2014-02-17 16:45:36 -08:00
Robin Ward
b61df08d1b
FEATURE: Admin selector to choose a primary group for a user, display it
...
and apply a CSS class to their posts.
2014-02-10 17:00:15 -05:00
Robin Ward
b61b33c0fa
Add groups list to the poster expansion when you click an avatar while
...
in a topic.
2014-02-10 12:30:36 -05:00
Robin Ward
9db044d54b
FIX: Component was not refreshing all the time
2014-02-07 14:16:34 -05:00
Régis Hanol
a710773bb4
BUGFIX: do not override default browser keyboard shortcuts behavior
2014-02-06 11:07:33 +01:00
Régis Hanol
759c18d9f5
FEATURE: HOME/END should always take you to the correct spot
2014-02-04 23:25:27 +01:00
Robin Ward
964dddf92d
FIX: Hidden icon was missing
2014-01-24 14:29:41 -05:00
Régis Hanol
202d1064ea
BUGFIX: do not allow loop over topics list using keyboard shortcuts
2014-01-23 00:39:46 +01:00
Robin Ward
a524194a46
FIX: Bugged up Components vs. Views. My original error was using
...
`templateName` instead of `layoutName` in an `Em.Component`. This fixes
that and backs out other "fixes"
2014-01-21 13:08:47 -05:00
Vikhyat Korrapati
7a45d261a7
Fix inviting others to private messages.
2014-01-21 11:57:05 +05:30
Robin Ward
8c32f22ae0
FIX: Adding components to a ContainerView doesn't set the context
...
properly.
2014-01-20 17:13:36 -05:00
Sam
c7c1c937af
STYLE: cleaner targetting in components
2014-01-20 17:25:54 +11:00
Sam
12b72762da
BUGFIX: computed.alias (and even property) seems bust in components
2014-01-20 17:22:53 +11:00
Régis Hanol
129617b415
Lots of bugfixes
...
BUGFIX: navigation bar should always activate the right tab (even when diging into a top period)
BUGFIX: /top pages titles
BUGFIX: no "edit category" button on /top page after visiting a category
BUGFIX: properly hide category columns when there is no children category (on both filter + top pages)
BUGFIX: promises not caught when scrolling down a topic list to load more of them
BUGFIX: CSS on category dropdowns
Updated `top_menu` i18n with available filters
2014-01-18 19:27:25 +01:00
Robin Ward
4981525047
REFACTOR: Fixes poor class hierarchy for listing topics
...
- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
2014-01-18 19:26:24 +01:00
Régis Hanol
8e5b736caa
BUGFIX: could not save user's preferences when categories where watched/tracked/muted
2014-01-14 20:30:35 +01:00
Régis Hanol
3a6bffa05d
FEATURE: better top pages
2014-01-14 01:09:12 +01:00
Neil Lalonde
52580f09af
Rename favorite to starred everywhere
2014-01-10 14:54:19 -05:00
Sam
e8dcd8ab71
BUGFIX: show uncategorized in tracking etc
...
BUGFIX: allow emptying of lists of watched / tracked
BUGFIX: page scrolls when clicking on [x]
2014-01-08 17:10:16 +11:00
Régis Hanol
ec10575a9e
BUGFIX: pressing '?' will now always open the keyboard shortcut modal
2014-01-06 16:46:32 +01:00
Régis Hanol
da6af9024d
FEATURE: add go to /top page keyboard shortcut
2014-01-06 16:46:24 +01:00
Régis Hanol
c18a6827df
fix jshint
2014-01-06 15:45:30 +01:00
Régis Hanol
87217d940e
Merge pull request #1457 from skisulli/keyboard-shortcuts
...
Global Gmail style keyboard shortcuts
2014-01-06 06:40:55 -08:00
Sam
2da5d2311b
FEATURE: Added UI for adding and removing watched and muted categories
2014-01-02 17:59:08 +11:00
Vikhyat Korrapati
511e2373d5
Fix missing pin icon.
...
pushpin was renamed to thumb-tack in Font Awesome 4.0.
2013-12-27 03:00:11 +05:30
Ryan Sullivan
5100c2bbd2
Add Global Keyboard Shortcuts
...
Not all of these have been fully implemented yet.
**Jump To**
* `g` then `h` - Home (Latest)
* `g` then `l` - Latest
* `g` then `n` - New
* `g` then `u` - Unread
* `g` then `f` - Favorited
* `g` then `c` - Categories List
**Navigation**
* `u` - Back to topic list
* `k` / `j` - Newer/Older conversation or post
* `o` or `Enter` - Open selected conversation
* <code>`</code> - Go to next section
* `~` - Go to previous section
**Application**
* `c` - Create a new topic
* `n` - Open notifications menu
* `/` - Search
* `?` - Open keyboard shortcut help
**Actions**
* `f` - Favorite topic
* `s` - Share topic
* `<Shift>` + `s` - Share selected post
* `r` - Reply to topic
* `<Shift>` + `r` - Reply to selected post
* `l` - Like selected post
* `!` - Flag selected post
* `b` - Bookmark selected post
* `e` - Edit selected post
* `d` - Delete selected post
* `m` then `m` - Mark topic as muted
* `m` then `r` - Mark topic as regular
* `m` then `t` - Mark topic as tracking
* `m` then `w` - Mark topic as watching
2013-12-22 12:16:42 -07:00
Robin Ward
30d1801703
Merge pull request #1739 from vikhyat/uncategorized-topics
...
Don't show "uncategorized" in the category dropdown if allow_uncategorized_topics is false.
2013-12-16 10:57:45 -08:00
Robin Ward
acf262b631
Support for "no subcategories"
2013-12-16 13:06:35 -05:00
Vikhyat Korrapati
03e152ee21
Don't show "uncategorized" if allow_uncategorized_topics is false.
2013-12-15 15:56:06 +05:30
Neil Lalonde
ed3d3ae1e1
Upgrade font-awesome to version 4
2013-12-11 10:31:09 -05:00
Robin Ward
314a0e3fad
Some style changes for omitted posts, also mobile style.
2013-12-06 12:51:00 -05:00
Robin Ward
79427732b2
Show Gaps in the post stream when filters are active
...
Conflicts:
app/assets/javascripts/discourse/templates/topic.js.handlebars
2013-12-05 16:46:59 -05:00
Neil Lalonde
a13c7c26f9
Put that autoclose regexp back. Firefox, take it easy.
2013-11-28 14:49:11 -05:00
Robin Ward
488e9ca9dd
On mobile, keep topic map collapsed by default. Also, when collapsed don't show as many
...
data turds.
2013-11-28 11:45:16 -05:00
Neil Lalonde
13b31e9833
FIX: broke all the things on Firefox
2013-11-27 14:52:29 -05:00
Neil Lalonde
a9ab98ef9e
Auto-close time can be entered in 3 ways, so a topic can close at any time
2013-11-27 09:52:35 -05:00
Robin Ward
f1a681aa46
Fix: Participant filter was broken.
2013-11-22 17:02:12 -05:00
Robin Ward
fa0b5d3b0e
FIX: Missing Private message topic map
2013-11-19 18:59:29 -05:00
Wojciech Zawistowski
e7c6abde3e
removes redundant enclosing tag
2013-11-19 21:28:05 +01:00
Robin Ward
20e4a2ef80
Renamed components so they don't all have the annoying discourse- prefix
2013-11-19 11:59:50 -05:00
Robin Ward
89a96b9e94
FIX: Topic map expansion broken without links.
2013-11-18 17:06:52 -05:00
Robin Ward
629fe8b426
If the topic can be summarized, expand the topic map by default
2013-11-18 13:43:35 -05:00
Robin Ward
4ce81e1b01
Rename "Best Of" to "Summary"
2013-11-18 12:48:26 -05:00
Robin Ward
f2659a5916
Moved more into components, including summary stuff.
2013-11-18 12:08:21 -05:00
Robin Ward
52048d2d2b
Converted Private Message map to a component
2013-11-18 12:08:21 -05:00
Robin Ward
039acd6ead
Convert some TopicMap stuff to Ember components
2013-11-18 12:08:21 -05:00
Régis Hanol
dabdcf59c4
allow for arbitrary HTML at the top/bottom of every pages
2013-11-18 17:13:24 +01:00
Robin Ward
bda5a72c6a
Server side support for custom ordering of topics
2013-11-13 14:17:06 -05:00
Robin Ward
df568df9dc
Controls for sorting topic columns
2013-11-13 11:48:38 -05:00
Robin Ward
e5fd2946e0
Some topic list re-organization.
2013-11-11 15:07:08 -05:00
Robin Ward
a13d05660f
FIX: Show status icons on user topic pages
2013-11-04 13:13:22 -05:00
Robin Ward
5a78c1cb34
Changed confusing 'all categories' text
2013-10-31 16:41:13 -04:00
Wojciech Zawistowski
489dab333a
extracts logo component from header
2013-10-30 21:56:48 +01:00
Robin Ward
8c882fd392
Changed breadcrumb dropdowns
2013-10-28 15:34:38 -04:00
Robin Ward
e9c4465ec7
FIX: Various bugs with Category breadcrumbs
2013-10-25 15:24:03 -04:00
Robin Ward
ee2dd9d24c
Working drop downs for category changing
2013-10-24 15:19:15 -04:00
Robin Ward
9adcd1579d
Renamed components to lib in the JS project, as Ember has components and they mean something different.
2013-10-24 12:36:46 -04:00
Sam
666264879c
change it so all topics MUST include a category, we store a special uncategorized category to compensate
...
this cleans up a bunch of internals and removes some settings
2013-10-24 12:08:02 +11:00
Robin Ward
cc9b11ecc5
Simple category breadcrumb component
2013-10-23 17:00:02 -04:00
Robin Ward
541620c115
Routes and support for sub-categories
2013-10-23 15:22:49 -04:00
Régis Hanol
a12a1bcc66
bring back attachment icons
2013-10-23 09:52:15 +02:00
Robin Ward
4d9ca99929
Merge pull request #1542 from velesin/debounce_refactoring
...
refactors Discourse.debounce
2013-10-21 07:50:26 -07:00
Wojciech Zawistowski
4c4a2f220e
refactors Discourse.debouncePromise
2013-10-20 10:38:26 +02:00
Wojciech Zawistowski
d0f3765967
refactors Discourse.debounce
2013-10-19 09:13:00 +02:00
Robin Ward
f27413219e
Support for MDTest
2013-10-16 10:28:42 -04:00
Robin Ward
afff145bd3
FIX: Query params were going a bit haywire when going from topic to topic.
2013-10-15 12:40:12 -04:00
Robin Ward
5281b7f80c
Upgraded and refactored Sanitizing. Much less crap should get through now!
...
Conflicts:
app/assets/javascripts/discourse/components/syntax_highlighting.js
2013-10-15 10:53:11 -04:00
Robin Ward
af931f0444
Reverting the Sanitizer commit in case we have to do something urgent
...
before we deploy it early next week. It's in the branch `sanitizer` for
now.
This reverts commit 9e93d8ed52 .
2013-10-11 16:44:26 -04:00
Robin Ward
9e93d8ed52
Upgraded and refactored Sanitizing. Much less crap should get through now!
...
Conflicts:
app/assets/javascripts/discourse/components/syntax_highlighting.js
2013-10-11 16:25:40 -04:00
Wojciech Zawistowski
c446cc6ce1
removes unused context binding from Discourse.SyntaxHighlighting
2013-10-11 18:37:18 +02:00
Wojciech Zawistowski
b4a6a5e841
removes unused context binding from Discourse.Lightbox
2013-10-11 17:40:30 +02:00
Wojciech Zawistowski
708a55cb38
refactors Discourse.Computed to bind context to self
2013-10-09 18:24:33 +02:00
Wojciech Zawistowski
034d00b83a
adds unit tests for Discourse.debouncePromise
2013-10-07 17:45:09 +02:00
Neil Lalonde
cc2acafc9a
Enable mobile view. Use local storage to remember whether you chose mobile or desktop view. Mobile device detection needs to be replaced with a better solution.
2013-09-10 16:44:17 -04:00
Régis Hanol
eae30d7816
staff can always upload a file
2013-09-07 10:49:11 +02:00
Sam
61d3e43744
better split logic for names starting with capitols eg: ABBob should split to AB Bob
2013-09-04 15:02:04 +10:00
Robin Ward
1204eb62c3
FIX: Escape contents when using the quote tool.
2013-08-29 14:15:05 -04:00
Robin Ward
eeef24b9da
Allow basic emoticons to work too.
2013-08-28 15:27:03 -04:00
Robin Ward
2d45c56ba5
Replace Markdown Linebreak Regexp with node parser.
2013-08-26 15:21:23 -04:00
Robin Ward
373b525ec1
Revert "FIX: New line insertion when a line begins with []"
...
This reverts commit f84630a54d .
2013-08-26 12:46:15 -04:00
Robin Ward
f84630a54d
FIX: New line insertion when a line begins with []
2013-08-26 11:42:52 -04:00
Régis Hanol
43a8bff652
add a site setting for allowing animated avatars
2013-08-23 18:55:02 +02:00
Robin Ward
7f69a58439
Replace Markdown parser.
2013-08-21 10:10:57 -04:00
Sam
8a0a097dfb
make message bus more robust to bad inputs, correct issue where notifications channel is not susbcribed
2013-08-21 09:07:38 +10:00
Sam
9b5da77855
correct broken logic in screen track that was causing read status not to flush properly when navigating using the suggested topics list.
2013-08-19 11:35:06 +10:00
Régis Hanol
c867b67a0b
custom avatar support
2013-08-13 22:08:29 +02:00
Robin Ward
86246a64eb
Convert Discourse.Site and Discourse.ScreenTrack to use Discourse.Singleton
2013-08-08 12:49:58 -04:00
Robin Ward
51f5cf77fb
Convert Discourse.User to use Discourse.Singleton
2013-08-08 12:42:08 -04:00
Robin Ward
8e1fae0459
Add Discourse.Singleton class mixin for creating singletons.
2013-08-08 12:00:58 -04:00
Neil Lalonde
879aa06601
Change tiny date formatting for dates in past years. Example: 10 Dec '12
2013-08-06 13:47:24 -04:00
Régis Hanol
faeb4a9ebd
enhance upload selector
...
- Change the icon on the button to a file when attachments are enabled
- Display the list of allowed extensions in the upload selector
- FIX : regexps for validating uploads weren't escaping the dots
2013-08-02 01:30:18 +02:00
Sam
1132c10074
support server side js and arbitrary assets
...
proper chaining for emoji so other hooks can be called
2013-08-01 17:35:31 +10:00
Robin Ward
b11e1f8b40
Added ember-renderspeed library for profiling rendering. Removed old probes stuff that
...
that was just profiling the run loop.
2013-07-29 12:52:09 -04:00
Robin Ward
e77ee1eaa8
Moved highestSeenByTopic to the Discourse.Session
2013-07-26 15:18:46 -04:00
Sam
809594c00a
correct ScreenTrack so it properly flushes everything that happened on stop and resets on start
2013-07-26 14:41:46 +10:00
Robin Ward
0317cf9608
Show topics as a list of topics on the User Stream.
2013-07-25 15:56:20 -04:00
Régis Hanol
be9217d4c8
add server-side filesize check on uploads
2013-07-24 00:54:41 +02:00
Robin Ward
c9c6a8fd9d
User stream now uses eyeline for loading more content.
2013-07-23 16:06:26 -04:00
Régis Hanol
6474e7df97
uploads selector texts is now different when attachments are enabled
2013-07-22 23:15:23 +02:00
Robin Ward
0ad93e436c
Merge pull request #1232 from sir-pinecone/fix-group-member-removal
...
Fix for autocomplete delete action removing only the last item
2013-07-22 12:22:14 -07:00
Robin Ward
0f1533f41d
Merge pull request #1229 from ZogStriP/close-lightbox-when-using-back-button
...
FIX: lightbox is not closed when using the back button
2013-07-22 07:29:53 -07:00
Michael Campagnaro
e471ffd07b
Fix for autocomplete delete action removing only the last item
2013-07-21 22:37:01 -04:00
Régis Hanol
2986798ba7
add newuser-max-attachments setting
2013-07-22 02:39:17 +02:00
Régis Hanol
418d8c7377
FIX: lightbox is not closed when using the back button
2013-07-22 01:21:43 +02:00
Robin Ward
419cbc7701
FIX: Double load on back button
2013-07-18 15:40:06 -04:00
Robin Ward
751b757c1d
FIX: Some failing specs
2013-07-18 12:26:38 -04:00
Robin Ward
e3bbb2c8bb
Never render an avatar img if we know the username is invalid.
2013-07-18 12:03:09 -04:00
Robin Ward
19f3a8d640
Each user activity filter has its own URL now.
2013-07-17 15:42:31 -04:00
Sam
c2be81a76e
Merge pull request #1199 from ZogStriP/uploads
...
adds the `max_attachment_size_kb` setting
2013-07-16 23:03:42 -07:00
Sam
ff7d9cac38
fix non localized said: in quotes
2013-07-16 17:22:54 +10:00
Régis Hanol
5ce05ff5cb
adds the max_attachment_size_kb setting
...
so that we can specify a different max upload size for attachments and images.
2013-07-16 02:01:36 +02:00
Régis Hanol
36e6345eee
change the icon in the composer toolbar with a more generic upload icon
...
also changed all references to "images uploads" to a "uploads"
2013-07-14 23:44:50 +02:00
Régis Hanol
3397c2235f
display the size of the attachment in the preview
...
instead of adding it during post processing
2013-07-14 12:28:24 +02:00
Robin Ward
62d161fd70
Show number before trust level. Also use less memory for trust levels.
2013-07-12 16:18:32 -04:00
Robin Ward
6122d31711
FIX: Jshint in computed.js - not in qunit?
2013-07-12 12:14:32 -04:00
Robin Ward
5eaae063f0
Discourse Macro Helpers + Minor Fix to Admin User View
2013-07-11 19:35:52 -04:00
Régis Hanol
ffb9a1250a
don't track via AJAX when clicking on local attachments
2013-07-10 22:59:53 +02:00
Régis Hanol
1f8eaa6ca3
display correct template when attachment or image
2013-07-10 22:59:53 +02:00
Robin Ward
91dc0b9ef1
JSHint issue with file that didn't show up in Qunit locally. Weird!
2013-07-10 16:29:53 -04:00
Robin Ward
8888ae4b40
Added some macros to simplify code
2013-07-10 16:21:18 -04:00
Neil Lalonde
0e3e5bf533
Add relative_date_duration site setting
2013-07-10 12:38:43 -04:00
Régis Hanol
924c5d65cb
wrapped I18n.lookup to inject the "js" namespace
2013-07-09 02:10:55 +02:00
Régis Hanol
7c82d6d4d0
FIX: new users are allowed to upload images to your servers
2013-07-05 00:44:18 +02:00
Robin Ward
2d821d1ff4
Clicking the #site-logo will refresh the latest list.
2013-07-04 17:31:06 -04:00
Sam
f08e9d8822
Merge pull request #1142 from ZogStriP/fix-can-no-longer-paste-image-in-chrome-post-editor
...
FIX: can no longer paste image in Chrome post editor
2013-07-03 16:08:51 -07:00
Régis Hanol
5a56af03bc
FIX: can no longer paste image in Chrome post editor
2013-07-04 00:39:23 +02:00
Robin Ward
4331bba549
FIX: Quotes with text against them had the wrong spacing
2013-07-03 18:26:08 -04:00
Robin Ward
ba0bd934ba
FIX: Links to images in posts won't go through the Discoruse router
2013-07-03 14:06:34 -04:00
Robin Ward
ffac22a143
FIX: Support underscores in autocomplete widget
2013-07-03 11:48:59 -04:00
Robin Ward
f328804488
Merge branch 'add-list-of-authorized-extensions' of git://github.com/ZogStriP/discourse into ZogStriP-add-list-of-authorized-extensions
...
Conflicts:
app/models/site_setting.rb
2013-07-03 11:18:42 -04:00
Robin Ward
5770879472
Refactor: Move Topic Details into better objects, identity map, tests, query string filters
2013-07-02 10:36:46 -04:00
Régis Hanol
6723ba6014
Add a list of for file uploads
2013-07-01 02:19:03 +02:00
Neil Lalonde
2d6118297d
Changes to tiny date format to remove mon and show short format dates instead
2013-06-28 13:10:04 -04:00
Sam
87f7bd921b
minor tweak for name splitter (split on number)
2013-06-28 16:15:13 +10:00
Sam
e63bfd2f4c
improve the breakUp user name algorithm, add some tests
2013-06-28 13:56:38 +10:00
Régis Hanol
689b296204
FIX: urls in BBCode tags weren't working
2013-06-27 00:42:11 +02:00
Neil Lalonde
6b58713fa6
Fix title attributes on post info
2013-06-26 16:27:18 -04:00
Régis Hanol
573c4b41f0
reverting changes to the markdown conversion pipeline order
2013-06-25 17:13:41 +02:00
Sam
4c51f36db2
was dropping off the last key when inviting a user by email.
2013-06-25 17:53:12 +10:00
Régis Hanol
3d2ef18bb7
move BBCode formating before the markdown conversion
2013-06-24 22:25:08 +02:00
Robin Ward
82c21868f3
Moved JSHint into Qunit suite. It's much harder to forget about now!
2013-06-21 14:07:11 -04:00
Robin Ward
bb908d5913
Email parsing uses Traditional Markdown Linebreaks by default. Added JS tests for line breaks.
2013-06-21 11:37:26 -04:00
Robin Ward
a8b5716421
FIX: Coudln't scroll while on Qunit page due to browser bindings
2013-06-20 14:29:59 -04:00
Sam
80c42753e1
fix up find as you type for the invite into PM function
...
allow mods to remove users from a PM
2013-06-18 17:17:01 +10:00
Robin Ward
3c7eb3a4e8
FIX: null dates crashed the client app. last_posted_at was not updating properly on split topic.
2013-06-17 13:02:50 -04:00
Sam
30df1b1815
fix positioning regression
2013-06-17 16:05:41 +10:00
Sam
b97d186cb5
automatic groups should not allow you to muck with the listed users in the group
2013-06-17 12:54:25 +10:00
Sam
7c73140674
offsets for find as you type names for PMS and Groups were crazy, change it so it renders the autocomplete below.
2013-06-17 12:14:59 +10:00
Sam
74041be23b
bring back some instrumentation
2013-06-12 11:47:03 +10:00
Régis Hanol
ba3d07ddcb
replaced colorbox with magnific popup lightbox
2013-06-12 00:32:48 +02:00
Sam
c2cfbce9ce
automatically updating times for posts on topic
...
moved moment.js into localization file (we need to localize it)
added helpers for date formatting use, moment().shortDate() moment().longDate() moment().shortDateNoYear()
2013-06-11 17:25:50 +10:00
Sam
fa8a84f20c
removed sugar.js, port functionality to moment and underscore.js
...
bring in latest ace from local so we don't mess up with https
2013-06-11 15:27:26 +10:00
Sam
eed5875505
fix bug with wrapping
2013-06-11 15:27:26 +10:00
Sam
a92bb46966
edit date to use formatter, compensate for invalid local time (at least don't blow up)
2013-06-11 15:27:26 +10:00
Robin Ward
fa4cfa1269
ScreenTrack refactor - removes logic from TopicView didInsertElement
2013-06-07 17:20:10 -04:00
Sam
d1784f1f87
more moment goodness
2013-06-07 18:27:42 +10:00
Sam
5fa20ce357
more progress towards full migration to moment.js
2013-06-07 18:27:42 +10:00
Sam
11afa0c11b
work in progress migrate to moment
2013-06-07 08:49:22 +10:00
Robin Ward
a0bd51862e
Upgrade Ember to RC5. Disabled a deprecation warning that I believe is in error.
2013-06-05 12:07:18 -04:00
Sam
5f85aaee1d
correct message bus regression
...
implement automatically updating dates in list
2013-06-05 09:32:44 +10:00
Chris Hunt
afa519b3ae
Only pass searchContext type, id in search request
2013-05-30 12:54:34 -07:00
Robin Ward
5ae7707000
Refactor: Convert repeated {{view Discourse.xyz}} to registered view helpers
2013-05-29 15:14:31 -04:00
Robin Ward
4d5c145198
Refactor: Adds Discourse.Utilities.registerViewHelper to register view helpers
2013-05-29 14:32:39 -04:00
Robin Ward
3d0587d8ce
Refactor: move category slug helper to Category model
2013-05-29 14:18:02 -04:00
Robin Ward
fe3ac50aae
Use {{aceEditor}} helper to display the ace editor
2013-05-29 14:09:21 -04:00
Robin Ward
2e26fca36b
FIX: Hitting ESC while autocomplete is open shouldn't close the composer.
2013-05-29 11:28:41 -04:00
Robin Ward
57f97880e6
Refactor: Instead of getting currentUser from the Discourse namespace, use
...
`Discourse.User.current()`
2013-05-28 11:25:56 -04:00
Robin Ward
b73bb49076
FIX: More search results was broken.
2013-05-27 17:49:49 -04:00
Robin Ward
962f0dd5f9
Search correctly passes context data to server
2013-05-24 12:21:53 -04:00
Robin Ward
b794830a25
Replaced Em.run.next with the more proper Em.run.schedule('afterRender')
...
when we are waiting for rendering to finish.
2013-05-20 12:20:10 -04:00
Régis Hanol
27dfb7a948
FIX: @username mentions when there are multiple code blocks in a post.
...
Meta: [All of my internal users show as coming from 127.0.0.1!](http://meta.discourse.org/t/all-of-my-internal-users-show-as-coming-from-127-0-0-1/6607 )
This fixes the regular expression used to identify @ inside <code> or <pre> blocks in the `postConversion` hook.
2013-05-16 01:59:07 +02:00
Robin Ward
2f3dc63dd3
FIX: Oneboxes weren't being rendered
2013-05-10 18:50:05 -04:00
Robin Ward
cf01c98d81
Experimental: Interface to Move Posts to an Existing Topic
2013-05-10 14:55:51 -04:00
Robin Ward
bd99d5a40c
Calls to Discourse.ajax no longer need getURL -- will be done automatically.
2013-05-07 15:16:27 -04:00
Robin Ward
0b4fc5d81c
Deprecate success and error in Discourse.ajax
2013-05-07 11:25:21 -04:00
Robin Ward
6cbcd6e4a6
The last of the callback style AJAX have been converted to promises.
2013-05-07 10:58:41 -04:00
Robin Ward
4200f4107b
Merge branch 'master' of github.com:discourse/discourse
2013-05-07 10:27:09 -04:00
Robin Ward
397553e29c
More promises instead of callbacks.
2013-05-06 14:44:19 -04:00
Régis Hanol
53a430be9d
do not show the clic count in category tag
2013-05-06 19:40:39 +02:00
Régis Hanol
ff309cf024
FIX: shift+click on links
...
Default browser's behavior when shift+clicking was messed up.
This adds the shift key modifier to the list of click modifiers in both
`click_track` and `discourse`.
Also updated & refactored a bit the `click_track_spec`.
2013-04-30 15:48:58 +02:00
Jeff Atwood
514df5441a
these parens!
2013-04-26 15:32:26 -07:00
Jeff Atwood
2e2160f964
oops my bad
2013-04-26 15:26:59 -07:00
Jeff Atwood
01e0226086
ignore username matches inside <pre> or <code>
...
also remember, lazy ? faster than greedy, less backtracking
2013-04-26 15:11:26 -07:00
Jeff Atwood
dd9ea50456
fix username lookup regex for mentions
2013-04-26 14:34:12 -07:00
Régis Hanol
451a818162
do not display clicks count in oneboxes
2013-04-22 20:21:29 +02:00
Jeff Atwood
316f744ad7
Merge pull request #752 from ZogStriP/add-autocomplete-support-for-plus-and-minus
...
Add '+' and '-' support to the autocomplete plugin
2013-04-21 20:44:21 -07:00
Sam
fd035cf777
thinking about it .. WE ALWAYS track external links. WE DON'T display external link counts inside oneboxes.
...
Reverting to old behavior so we can fix properly
2013-04-22 10:42:12 +10:00
Sam
4f5ed10b83
click tracking broken for AGES
2013-04-22 10:00:38 +10:00
Régis Hanol
ea23f637e1
Add '+' and '-' support to the autocomplete plugin
2013-04-22 01:43:41 +02:00
Neil Lalonde
2c516400de
Fix links to topics with empty slug because they use non-ascii titles
2013-04-19 16:47:34 -04:00
Sam
de9ca54aed
* event machine fix is critical (long polling has been broken)
...
* thin upgrade
* work in progress - groups
* fix live-refresh in dev
2013-04-19 13:06:00 +10:00
Robin Ward
00f9e628e0
Don't apply markdown to content of [quote] -- it messes up spacing.
2013-04-09 17:32:50 -04:00
Robin Ward
02bab415bd
Convert Autocomplete to use promises
2013-04-08 14:59:00 -04:00
Robin Ward
6c983218b3
Clean up JS
2013-04-08 14:58:17 -04:00
Sam
9ad320768e
Merge pull request #667 from ZogStriP/dont-track-links-in-oneboxes
...
don't track links in oneboxes
2013-04-07 18:30:24 -07:00
Sam
11ff0ccd03
correct logic for tracking the highest seen post number so its always consistent
2013-04-08 11:12:52 +10:00
Régis Hanol
d080ae4d2d
don't track links in oneboxes
2013-04-08 02:24:12 +02:00
Wojciech Kocjan
0481fbae8c
Fix for reply to user avatar and picture uploading not working when editing post with discourse running in a prefix
2013-04-05 12:46:14 +02:00
Sam
bf8e756175
Merge pull request #637 from wojciechka/master
...
Putting rootURL in JavaScript using Discourse::base_uri and erb
2013-04-04 21:42:54 -07:00
Régis Hanol
82bd92dd46
consistent behavior regarding file uploads
2013-04-05 01:07:31 +02:00
Wojciech Kocjan
a875b1c44a
Store base URI in Discourse.BaseUri and use it in all places where rootURL was previously used
2013-04-04 11:16:38 +02:00
Robin Ward
5ec41d454c
Converted a bunch of ajax calls to use promises
2013-04-03 16:24:42 -04:00
Robin Ward
61b5c0340e
Convert all Ajax calls to use Discourse.ajax()
2013-04-01 18:09:23 -04:00
Robin Ward
e4d190d856
XSS fix for category descriptions
2013-04-01 12:01:27 -04:00
knoxmic
182f794466
fix autocomplete charcode '0' and 'z'
2013-03-31 16:00:21 +02:00
Robin Ward
a819a26f34
BUGFIX: New status posts weren't using PostCreator
2013-03-28 16:40:54 -04:00
Robin Ward
a30c019275
Show totals in best of yellow thigny.
2013-03-26 15:40:30 -04:00
Sam
e99f137316
refactor analysis of read posts and centralize logic
2013-03-22 00:40:08 -07:00
Robin Ward
c541d9699c
Merge pull request #510 from ZogStriP/fix-can-t-click-on-avatars-when-on-my-profile-page
...
fix: can't click on avatars when on my profile page
2013-03-21 10:58:47 -07:00
Régis Hanol
d84309a7ba
fix: can't click on avatars when on my profile page
2013-03-21 18:55:42 +01:00
Sam
0089619ed9
Eyeline will no fire any events if the window has no focus
...
After posts are rendered a debounced eyeline is fired
Dont trigger eyeline from TopicPostsView, its the wrong spot, will only fire on first render
2013-03-20 21:45:27 -07:00
Wojciech Kocjan
e6ccc300dc
Support for running discourse with a prefix (i.e. as http://servername/discourse )
2013-03-16 00:01:21 +01:00
Robin Ward
76d8df6ac6
Merge pull request #462 from kubabrecka/colorpicker3
...
implement color picking from predefined set for category badges + option to change foreground color
2013-03-15 13:43:59 -07:00
Robin Ward
18133caf25
Merge pull request #449 from kubabrecka/composer_wider_placeholder
...
make the "add user" placeholder in composer wider, so other languages can fit into that
2013-03-14 08:06:04 -07:00
Kuba Brecka
8784c55188
implement color picking from predefined set for category badges + option to change foreground color
2013-03-14 14:16:57 +01:00
Robin Ward
21b5183d6a
Fix linting errors.
2013-03-13 16:04:48 -04:00
Robin Ward
518910a54d
FIX: Don't include link counts when selecting text to quote a post.
2013-03-13 15:51:41 -04:00
Robin Ward
42c7a65a05
When editing a post that is in reply to another post, show display meta data to that effect.
2013-03-13 12:00:38 -04:00
Kuba Brecka
57398a4707
make the "add user" placeholder in composer wider, so other languages can fit into that
2013-03-13 15:22:09 +01:00
Sam
38f185355d
added options to disable quoting and open links in new tabs
...
fixed a some regressions
removed some dead code
fixed messages about constants being re-defined
2013-03-12 20:06:58 -07:00
Robin Ward
4360d1bd61
Cleaned up probe code a little.
2013-03-11 11:13:28 -04:00
Kuba Brecka
da7a41f5b9
Markdown editor translations into client.en.yml + tiny translation fixes
2013-03-05 21:58:37 +01:00
Robin Ward
86af49e663
More Markdown refactoring - fixed bug with Pagedown not showing on user profile - replaced jQuery occurrences with $.
2013-03-05 15:39:21 -05:00
Robin Ward
cf09e200a5
Moved Markdown out of Discourse.Utilities -> Discourse.Markdown
2013-03-05 14:56:43 -05:00
Robin Ward
1416bc7475
Some javascript refactoring: Move markdown functions into their own classs, remove extraneous window. calls.
2013-03-05 14:53:55 -05:00
Robin Ward
e4277757c4
Fix onebox loading on every keystroke after a request fails.
2013-03-05 14:06:39 -05:00
Robin Ward
3901ddd153
Fix jshint issue with [^] in regexp.
2013-03-01 15:16:21 -05:00
Régis Hanol
4fa4c15559
Quoting another reply won't satisfy the minimum character count ( fixes #180 )
2013-02-28 23:58:40 +01:00
Régis Hanol
f93a26e03d
added more tests & documentation to the BBCode component
2013-02-28 03:29:52 +01:00
Robin Ward
0df2034dc8
Fixes #264 - replaceState was wonky
2013-02-26 17:27:01 -05:00
Robin Ward
1492464158
fixes: http://meta.discourse.org/t/discourse-logo-link-back-to-top-of-thread-list-on-home-page/3592
2013-02-26 15:20:13 -05:00
Robin Ward
1caf1e6b45
Clean up discourse.js
2013-02-26 15:20:06 -05:00
Gosha Arinich
cafc75b238
remove trailing whitespaces ❤️
2013-02-26 07:31:35 +03:00
Robin Ward
3e201fc9f3
Oops I missed a couple of jshint errors :)
2013-02-25 17:53:29 -05:00
Robin Ward
e461c84253
Clean up JS, add YUIDoc support, automatically create IIFE via asset pipeline
2013-02-25 17:16:57 -05:00
tms
3a0227f868
Tweak autocomplete/caret_position logic to not exclude the index 0 case
2013-02-22 23:47:23 -05:00
Robin Ward
532b1f5450
Can edit category descriptions, they show up in a title attribute
2013-02-22 13:43:47 -05:00
Robin Ward
588c79e637
Updated JSHint settings, include smoke test.
2013-02-21 16:25:40 -05:00
Robin Ward
f6263749d4
Fix javascript regression with quoting
2013-02-21 12:54:40 -05:00
Sam Saffron
012941ea62
basic smoke test script
2013-02-21 16:01:40 +11:00
Robin Ward
f661fa609e
Convert all CoffeeScript to Javascript. See:
...
http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
2013-02-20 19:01:13 -05:00
Sam Saffron
0c085059c9
added sane sanitizer (Google Cajole) that is much more robust than old one ... yay for smilies
...
added sane way to do $LAB includes - pattern to be expanded
people keep on messing structure.sql
2013-02-20 16:11:56 +11:00
Sam Saffron
a1099ed74e
sanitize wip
2013-02-20 16:11:56 +11:00
Sam Saffron
d9531d94d5
basic lightbox support
2013-02-19 17:57:14 +11:00
Robin Ward
5d4efa9100
Support for non-english categories
2013-02-14 16:51:48 -05:00
Robin Ward
b9457197c0
First stab at new user education - configurable messages that pop up on a user's first
...
few posts/topics.
2013-02-14 15:33:51 -05:00
Robin Ward
51473a95b4
Make all quotes multiline. Fixes a bunch of annoying errors.
2013-02-13 17:22:51 -05:00
Neil Lalonde
941820ac88
Client-side email validation should allow capital letters
2013-02-13 14:30:00 -05:00
Abdulsattar Mohammed
c4eb5eee53
set window height as maximum height of div_resizer
...
This fixes the issue where a user can resize the div so that grippie is
no longer visible and is not reize the div back.
2013-02-12 13:56:37 +05:30
Robin Ward
10c12d05b3
iOS autocomplete bug fix - don't follow link to #
2013-02-11 12:48:34 -05:00
Robin Ward
084a873b91
Give regular users a delete button. If they click it, their post will be revised to
...
say it was deleted.
2013-02-07 15:14:23 -05:00
Jakub Arnold
61654ab8f0
Fix all the trailing whitespace
2013-02-07 16:45:24 +01:00
Robin Ward
c77dea41b8
Merge pull request #7 from mutewinter/fix_at_dot
...
Removed unnecessary @.'s
2013-02-06 13:22:13 -08:00
Sam Saffron
2e3bcec5c7
also for about me
2013-02-06 17:24:49 +11:00
Sam Saffron
d4bc423320
hook up sanitizer
2013-02-06 17:22:11 +11:00
Jeremy Mack
87ff4373f5
Removed unnecessary @.'s
...
Since CoffeeScript automatically converts @ to this. when immediately followed by a character.
2013-02-05 15:59:17 -05:00
Robin Ward
21b5628528
Initial release of Discourse
2013-02-05 14:16:51 -05:00