James Socol
2a9a37e3b5
[bug 589004] Fix typo in webtrends code.
2010-08-25 17:16:43 -04:00
Erik Rose
83bc41065e
Upgrade jQuery UI to 1.8.4 and switch to a slimmer, custom build.
...
* Removed workaround for http://dev.jqueryui.com/ticket/5275 .
* Tweaked CSS to account for jQuery UI's new behavior of putting autocomplete menus just inside the </body>.
* Deleted a spinner that I used to see but which apparently is never used in the new jQuery UI.
* Inherited fixes for a big pile of autocomplete UI bugs: http://jqueryui.com/docs/Changelog/1.8.4 , http://jqueryui.com/docs/Changelog/1.8.2 , http://jqueryui.com/docs/Changelog/1.8.1
2010-08-23 10:43:02 -07:00
Paul Craciunoiu
5995dc8c43
[585976] jQuery.fn.numericInput|wrapDeleteInput|ajaxSubmitInput now bail when called on empty jQuery collection.
2010-08-20 13:29:48 -07:00
Ricky Rosario
ca9b467f0b
[Bug 582131] Implemented post preview for:
...
* New forum thread
* Forum reply (new and edit)
* Answer (new and edit)
2010-08-18 21:39:01 -04:00
Ricky Rosario
806cd53a72
Implemented forum-wide watches. (bug 583273)
2010-08-10 20:38:54 -07:00
Ricky Rosario
5536aca929
[bug 570427] Threads can be moved to different forums now
2010-08-10 18:25:44 -07:00
Paul Craciunoiu
8f0a0d7119
[584766] Delete icon shows up as '???', so encode the character as an html entity.
2010-08-05 21:17:12 -07:00
Paul Craciunoiu
5f1455a80c
[584600] Fix a missing semicolon which caused errors when JavaScript was minified.
2010-08-05 12:47:19 -04:00
James Socol
d98bcd5c9a
[bug 584543] Removing the remaining traces of Hunspell and DidYouMean.
2010-08-05 12:28:48 -04:00
Paul Craciunoiu
052bf1125d
[583086] Adds a management command to migrate questions from tiki_comments -> questions.question model
...
Migrates answers, metadata, and cleans up content. Uses a converter from
apps/sumo/converter.py to turn the TikiWiki syntax into MediaWiki syntax.
Content cleanup is necessary because all our new tiki_comments contain the
useragent, issue, troubleshooting information, plugins, firefox version and
OS version.
Creates answers and sets solutions as well, based on the 'o' type of the rows
in tiki_comments.
Alters tiki_comments_metadata to add an id column, since django does not
support compound primary keys.
Tweaks the h2's in question content to make them flow better with the text.
2010-08-03 17:52:14 -07:00
Erik Rose
10b2235676
[583523] Add a horrendous hack to keep IE 6/7 from butchering the question listing.
2010-08-03 15:25:41 -07:00
Ricky Rosario
40d23170f8
Some IE6 workarounds (bug 583596 / bug 583593)
2010-08-03 11:01:46 -04:00
Ricky Rosario
819f219379
IE6 and IE7 do not support inline-block (bug 583525)
2010-08-02 17:46:09 -04:00
Ricky Rosario
91f9b8a25a
Do not redirect to login when there are no search results (bug 583454)
2010-08-02 13:48:40 -04:00
Ricky Rosario
7e31a20391
Fix for IE6 (bug 583360)
2010-07-30 19:50:11 -04:00
James Socol
1a509dde5a
[bug 583328] Make IE stop complaining about stray commas.
2010-07-30 16:24:39 -04:00
Ricky Rosario
18d7aba293
[bug 573820] Anonymous user flow (modal registration/login) for AAQ
2010-07-30 14:11:18 -04:00
Paul Craciunoiu
58b33d719a
[582847] Add upload limit (1MB) and enforce it. Also fix up some JS quirks with error reporting in the modal dialog to improve UX.
2010-07-29 16:49:48 -07:00
Ricky Rosario
72c02d5346
Cross broswer OS detection (bug 578741)
2010-07-29 19:46:22 -04:00
James Socol
d6d74ab3cf
[bug 569289] New Sphinx index for the questions app, SearchClient
...
subclass, and advanced search UI.
Still some tests being skipped or not written, but things seem to be
working. Will finish up the tests next week, but committing to unblock
other work.
Paul did at least half the work on this branch.
2010-07-29 18:28:55 -04:00
Erik Rose
afaac7af31
[581108, 581584] Implement auto-tagging based on product, category, OS, and FF version. Drop "Intel" and "PPC" from Mac OS names.
...
* Tags are added for full and tenths-place variants (e.g., 4.0.1 and 4.0) of known Firefox versions.
* An OS will be auto-tagged if there exists a tag with its name (case insensitive). (I posit ease of administration outweighs risk of abuse.)
* Finished off questions_config based on Cww's etherpad.
* Show user agent string in System Details pop-up.
2010-07-29 10:56:36 -07:00
Ricky Rosario
9f2437b496
Only guess system details if they aren't set [bug 582887]
2010-07-29 10:19:38 -04:00
Ricky Rosario
ddc0ec0175
[bug 581093] Populating the AAQ form with real data.
2010-07-28 18:05:27 -07:00
Paul Craciunoiu
08f2586e91
[578520] Move thumbnail generation to a celery task. Create macros for attachments and add them to the reply and edit forms.
2010-07-28 14:13:30 -07:00
Paul Craciunoiu
8d9a069f8c
[578520] Delete images and upload with no JS, thumbnail generation and ImageAttachments.
2010-07-28 14:13:01 -07:00
Paul Craciunoiu
5495c6ecdf
[578520] Add preliminary support for uploading images and basic tests. Use ImageAttachments and generate thumbnails on upload.
2010-07-28 14:12:35 -07:00
Ricky Rosario
4b050685f8
[bug 580835/bug 581048]
...
* Added event_type to notifications EventWatch model
* Implemented UI for receiving email notifications
2010-07-28 15:30:14 -04:00
Joshua Gross
db79bccd1f
Align "Report this post" with other post options on questions forum (bug 582316)
2010-07-28 10:46:49 -07:00
Erik Rose
49fb48fe0a
[569286] Implement question editing and "last edited by" readout.
...
Here's an overview:
* Reused most of EditQuestionForm for the New Question form.
* Refactored templates so new and edit share most of their code.
* Added `product` and `category` properties to Question so we don't need so many helper functions.
* Turned questions_config.products into SortedDicts to eliminate lookup code.
Caveats:
* We now never store a question's category if we don't store its product. (Will this be a problem?)
* Category and product are immutable. Doing otherwise would open a whole can of state-tracking and data-loss worms. And if you're changing products, isn't it logically a new question anyway?
Fixed some other bugs along the way:
* Made QuestionMetaData.question and .name unique_together.
* Store the product and category keys, not u"<django.functional.proxy>", etc., in the question metadata.
* Fixed an error in a field label string.
2010-07-27 16:43:38 -07:00
Ricky Rosario
8af5336d9b
Implemented object flagging app, flagit, for 'Report this post'
...
functionality (bug 573068)
2010-07-27 11:15:57 -04:00
Ricky Rosario
d789650545
Added icons for Windows and Linux (bug 581232)
2010-07-23 18:08:06 -04:00
Ricky Rosario
3c720a34ad
Added back link to answers page (bug 580110)
2010-07-23 18:04:37 -04:00
Ricky Rosario
f0a7b4b73c
Edit questions impl (bug 569288)
2010-07-23 13:18:32 -04:00
Ricky Rosario
6eba591e2d
Implemented question locking (bug 580836)
2010-07-23 12:22:46 -04:00
Ricky Rosario
d14c4d9fc1
Implemented delete answer (bug 580280)
2010-07-22 14:33:23 -04:00
Ricky Rosario
91e309b1bd
Implemented delete question (bug 580279)
2010-07-22 13:04:33 -04:00
Ricky Rosario
37940adc3e
Filter by tag (bug 575663)
2010-07-22 09:35:44 -04:00
Joshua Gross
c65fb85831
Fix the typographic hierarchy on the questions app (bug 575723)
2010-07-21 09:27:25 -07:00
Joshua Gross
0f76b76af3
Increase font-size and leading in posts (bug 575645)
2010-07-21 09:22:34 -07:00
Joshua Gross
6005d90ac0
Increase margin between question and first answer in questions (bug 575882)
2010-07-20 16:30:19 -07:00
Ricky Rosario
ed99ed5d44
Added proper detection of 64-bit Windows (bug 578852)
2010-07-20 18:50:19 -04:00
Erik Rose
a644439eb4
Fix a bug where a tag would still be autosuggested until it was confirmed as applied server-side.
...
As a bonus, we now canonicalize the case of tags before we show them onscreen, yielding a better UX.
2010-07-20 15:26:54 -07:00
Erik Rose
76be70147f
When applying a tag, don't add it to the local vocab if it's already there.
2010-07-20 15:26:54 -07:00
Erik Rose
517f1ea10c
Use jQuery's data() function to store vocab instead of crudely poking at the DOM.
2010-07-20 15:26:54 -07:00
Erik Rose
5f6382ad2f
[579698] Escape HTML in autocomplete menu.
2010-07-19 11:11:45 -07:00
Erik Rose
10db2ac60b
[579581] Make tags wrap nicely even when added dynamically.
2010-07-16 18:13:03 -07:00
Paul Craciunoiu
4c93487326
[569033] Add CSS and change markup + tests as necessary for markup.
2010-07-16 15:42:07 -07:00
Ricky Rosario
0949d3225d
rel attribute removed from <li/> (bug 577700)
2010-07-16 17:20:22 -04:00
Erik Rose
92ee221de6
[576681] Give immediate visual feedback upon adding a tag and confirmation when it succeeds (and disaffirmation when it fails) server-side.
...
Consequently, rename the "removing" class to "in-progress", as it's used both when adding and removing.
2010-07-16 11:41:41 -07:00
Ricky Rosario
e732ec7cf0
Implemented the More system details modal (bug 573086)
2010-07-16 10:37:42 -04:00
Erik Rose
5b93abf8ef
[576012] Provide easy creation of new tags. Correct a bug where matching against already-applied tags was case-sensitive.
...
When someone with the taggit.add_tag permission submits a nonexistent tag through the Add form, create and apply the tag. The undimming behavior of the Add button reflects this.
The button-renaming behavior didn't work out: it makes things jump around distractingly. If our privileged users end up creating a lot of tags by mistake, we can try adding a New button (which doesn't activate on pressing Return) after the Add button. Or we can just make deleting tags easier.
2010-07-15 12:11:56 -07:00
Ricky Rosario
7d523d1f3b
Added detection for version in Minefield pre-betas (bug 575468)
2010-07-14 18:29:07 -04:00
Erik Rose
2babd7c851
[569285] Implement question tagging based on django-taggit, which has a nicer API and less-intrusive schema requirements than django-tagging.
...
* Introduce an autocomplete widget with decent user feedback on both adding and removal. Should be reusable elsewhere without much work. Also has non-JS fallback.
* Tag storage for the autocompleter is client-side, which lets us take reaction time from 300ms (or greater) down to around 0. Also provides lighter server load, and, as a side effect, containment search for tags rather than just prefix (the former being tricky to index with MySQL). Uses linear search atm, but performance on an 814-word vocab is acceptable on a 2GHz i7.
2010-07-12 14:10:20 -07:00
Ricky Rosario
4a7b51fa0e
html5 shiv for IE (bug 576720)
2010-07-12 12:11:37 -04:00
Stas
eecf219098
[bug 554205] Localizing Javascript
2010-06-30 15:29:13 -07:00
Ricky Rosario
3dcce60af9
Floats are always fun, but don't forget to clear them (bug 575849)
2010-06-30 15:58:04 -04:00
James Socol
8df2d198e9
[bug 575709] No replies filter and cleaning up the filter/sort UI
2010-06-29 20:30:45 -07:00
Ricky Rosario
1fc72d3699
Implemented voting for questions / "I have this problem too" (bug 573072)
2010-06-29 13:38:55 -04:00
Ricky Rosario
8324b04386
no background for <mark/> (bug 575668)
2010-06-29 13:01:43 -04:00
James Socol
ce43cc8c88
Added a 'var'
2010-06-29 09:34:54 -07:00
Joshua Gross
b466347a45
Fix applying of numbered or bulleted lists to a text block (bug 568284)
2010-06-29 09:30:37 -07:00
James Socol
63ffd0510a
[bug 568984][bug 570569] New webtrends code with bounce rate and referer tracking.
2010-06-28 17:05:10 -07:00
Joshua Gross
c0e3287e0b
Move webtrends.js into /media/js/ (bug 568979)
2010-06-28 16:47:35 -07:00
Joshua Gross
f61641bf49
Content formatting in "Content" heading on post deletion (bug 568697)
2010-06-28 16:10:13 -07:00
James Socol
9b48c6947c
[bug 570782] A quick, unauthenticated way to stop receiving notifications from a watch.
2010-06-28 15:16:51 -07:00
Ricky Rosario
751ee44290
Now question owner can mark an answer as the solution (bug 573759)
2010-06-25 15:10:34 -04:00
Ricky Rosario
c530d8a81e
Set textbox value using jQuery instead of string concatenation to avoid XSS issue (bug 574550)
2010-06-25 14:45:01 -04:00
Ricky Rosario
a297518b2f
Implemented answers - reply to question (bug 569283)
2010-06-24 15:49:51 -04:00
Ricky Rosario
daab8b8494
Implemented `Ask a Question` (bug 569282)
2010-06-22 17:03:41 -04:00
Ricky Rosario
406206667e
Added admin views for settings and environment (bug 572837)
2010-06-18 16:27:13 -04:00
Ricky Rosario
c225c57ee1
Fix for forum-editor indentation issue (bug 570085)
2010-06-14 13:47:21 -04:00
Ricky Rosario
d205e6d6aa
Advanced search form now using placeholder attribute for placeholder text (bug 570832)
2010-06-14 13:27:34 -04:00
Ricky Rosario
7ad694d19b
Thread type in search form now uses checkboxes widget (bug 569752)
2010-06-11 13:39:16 -04:00
Ricky Rosario
94279b7b83
Implemented answers template (bug 565366)
2010-06-10 15:03:48 -04:00
Ricky Rosario
8eb19c64b4
Implemented questions template (bug 565367)
2010-06-10 14:18:01 -04:00
Ricky Rosario
e291839071
Fixed text overflow of <pre /> (bug 568289)
2010-06-08 13:25:16 -07:00
Ricky Rosario
ecce5efa3f
Fix for clearing default `tags` value (bug 569687)
2010-06-03 12:42:41 -04:00
James Socol
c5c9f18830
Clean up and test while fixing the edit_threads template and removing the bad_reply template (yay).
2010-06-02 14:54:10 -07:00
Joshua Gross
a4b468fc8f
Implement edit post (bug 568321)
2010-06-02 11:27:15 -07:00
James Socol
e23563be83
UI to watch/unwatch threads and a way of getting around a cache invalidation issue.
2010-06-01 22:01:16 -07:00
Paul Craciunoiu
f97f5f0f9a
Add search UI for discussion forums and update views. Add tests, update sphinx config where necessary, and clean up search tests.
2010-06-01 21:57:09 -07:00
Paul Craciunoiu
44b81d8fee
Add jinja filter for has_perm_or_owns for use in templates, clean up thread forms, deny edit on locked threads.
2010-06-01 17:23:12 -07:00
Paul Craciunoiu
061eae3ed0
Add EditThreadForm and template, add test.
2010-06-01 17:23:11 -07:00
Paul Craciunoiu
7f8b30e481
Move forums CSS from main.css to forums.css and clean it up
2010-05-28 17:19:33 -07:00
Ricky Rosario
dd9d4211b4
Added sticky badge (bug 568880)
2010-05-28 18:16:25 -04:00
Ricky Rosario
9956a196e1
Removed descriptive text from reply form (bug 568877)
2010-05-28 17:12:29 -04:00
Ricky Rosario
d4f0e4e2cc
Added warning message to Post/Thread delete confirmation
2010-05-28 14:52:13 -04:00
Ricky Rosario
f3dce8837d
Fixed List of threads starts too low in IE 6 (bug 568756)
2010-05-28 12:38:36 -04:00
Ricky Rosario
3cdb491f46
Implemented deletion of threads (bug 568111)
2010-05-28 09:57:35 -04:00
Ricky Rosario
2c6f01a04b
Implemented posts delete (bug 568112)
2010-05-27 17:49:19 -04:00
Paul Craciunoiu
c8e175c270
New thread and new reply validation: display errors. Includes tests and a new jinja macro: errorlist(). Strip whitespace in content.
2010-05-26 15:33:59 -07:00
Paul Craciunoiu
26e2d760e1
Adding a login form and REGISTER_URL
2010-05-26 14:49:27 -07:00
Ricky Rosario
449c828bd3
Implemented sticky/unsticky threads (bug 568110)
2010-05-26 14:45:03 -04:00
Joshua Gross
ba978151ca
Remove reply link and reply form for locked threads.
2010-05-26 11:38:16 -07:00
Joshua Gross
a51648d71b
Fix insert-markup buttons adding incorrect markup in IE (bug 568122)
2010-05-26 09:54:57 -07:00
Joshua Gross
d2a3a06906
Add quick markup buttons to editor (bug 563986)
2010-05-25 13:50:25 -07:00
Ricky Rosario
afdfccbdbf
Fixed alignment of forum/thread/post list headers for consistency (bug 566108)
2010-05-25 16:20:47 -04:00
Paul Craciunoiu
df36d8058d
Adding authority, with jinja filter and permission checks. Lots of tests.
2010-05-21 17:18:33 -07:00
Paul Craciunoiu
053dcab4ce
CSS fixes for nested lists
2010-05-13 18:27:00 -07:00
Paul Craciunoiu
3eb6473bc5
WikiMarkup class, with internal link handler and tests. Make posts use it.
2010-05-13 18:26:44 -07:00
Paul Craciunoiu
fea3e847cd
Forums view style, add description and last_post fields (+ test), and shematic migration.
2010-05-13 17:52:05 -07:00
James Socol
2a128a35d1
[bug 563586] Base for the new-thread UI. Still needs edit buttons and preview, but those are coming later.
2010-05-12 15:51:54 -07:00
Paul Craciunoiu
aa13ae920a
Add Jinja function datetimeformat, use babel and pytz, add tests, add 'New thread' link.
2010-05-11 17:26:13 -07:00
Paul Craciunoiu
0c729c1e66
Rebase to add posts css into forums.css and group related CSS styles.
2010-05-11 17:25:10 -07:00
Paul Craciunoiu
eb2d19c040
Remove paginator.css, move datetimeformat helper to sumo app, use lists for thread list (not tables!), add profile_url test
2010-05-11 17:22:23 -07:00
Paul Craciunoiu
ba2eb96584
Threads list view, header sorting, tests for sorting.
2010-05-10 16:26:23 -07:00
James Socol
ab63ff4d4c
[bug 563581] Posts in a forum thread styled nicely.
2010-05-06 17:54:54 -07:00
Paul Craciunoiu
35c5fb75b7
Add breadcrumbs and use them throughout the site. Also fix test.
2010-05-04 17:23:09 -07:00
Paul Craciunoiu
a67e5b150e
Remove YUI, clean up CSS, add menu delay consistent with YUI delay; mozmenu should work on: ie6+, opera 10, firefox 3.6, Safari 4, Chrome 4
2010-04-30 15:38:55 -07:00
Paul Craciunoiu
0695295292
Adjusting padding for pagination and count
2010-04-23 13:42:28 -07:00
Paul Craciunoiu
94142eadfe
Pagination <li>s were one-per-line in IE6.
2010-04-22 16:45:36 -07:00
James Socol
23f586b285
Makes the sidebar a little narrower and moves the sidebar content a little to the left.
2010-04-21 16:51:21 -07:00
Paul Craciunoiu
8684519120
Fix review comments, all failing tests and rebase from development, and advanced search form defaults.
2010-04-16 21:42:25 -07:00
Paul Craciunoiu
236dcb2f03
Advanced search form validation determines when to search. Nest search form class, fix tests, also break some.
2010-04-16 21:24:43 -07:00
James Socol
8ab0cbdb8e
Adding a template when we catch search errors.
2010-04-13 18:22:27 -07:00
Paul Craciunoiu
045a998521
Fix refine missing where param and search query default value check in JS
2010-03-12 17:38:01 -08:00
Paul Craciunoiu
284516581f
Minor l10n and default values fixes + form submission handling
2010-03-12 12:05:02 -08:00
Paul Craciunoiu
6a3660e0f0
move default values to js, and set |w| in view
2010-03-10 13:03:26 -08:00
Paul Craciunoiu
5679e906a9
Convert Forum search to use django forms, and move constants to __init__.py
...
Revert stylesheet prefix to use {{ MEDIA_URL }} and fix a few forgotten items
Convert Forum search to use django forms, revert stylesheets to prefix with {{
MEDIA_URL }}, and move search constants to __init__.py
2010-03-10 11:44:18 -08:00
Paul Craciunoiu
4daf8a5153
Using django.forms for KB form, and removing LANGUAGES from settings.py
2010-03-10 11:44:17 -08:00
Paul Craciunoiu
ad97fce033
Advanced search, part 1: form, variables, css, js
2010-03-10 11:40:42 -08:00
Paul Craciunoiu
2e0512e83c
Forum thread summaries, common excerpt function, and styling
2010-03-01 15:55:48 -08:00
Paul Craciunoiu
08982c64f2
Done regexes for wiki summary
2010-03-01 14:40:50 -08:00
James Socol
94e312f711
Some basic styling on pagination links, mimicing production
2010-02-26 17:47:51 -08:00
Paul Craciunoiu
b2b5995ca1
Localize, localize. And add js for YUI header menu.
2010-02-24 13:58:29 -08:00
Paul Craciunoiu
7de57d5c26
Convert font sizes to %s
2010-02-19 19:08:00 -08:00
Paul Craciunoiu
3460525893
Search page styling: pager, search box
2010-02-19 17:23:44 -08:00
Paul Craciunoiu
abd4b024b9
Adding default sidebar, styling side menu
2010-02-19 16:11:14 -08:00
Paul Craciunoiu
c54f70b94f
styling breadcrumb
2010-02-19 15:31:23 -08:00
Paul Craciunoiu
7feb020acd
Styling header and footer (includes images)
2010-02-19 14:57:19 -08:00
Paul Craciunoiu
1707d9bbb4
create /media folder, add favicon, fix path errors from base-->layout move
2010-02-19 11:52:19 -08:00