Граф коммитов

1081 Коммитов

Автор SHA1 Сообщение Дата
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