Commit Graph

57 Commits (9a8bd464a33774741133eb1a36b6d11c8800dfc0)

Author SHA1 Message Date
Thomas Keller 9e2ea7404b Tags are now returned grouped by class, I seem to have missed this call
when I changed the API...
2011-10-04 00:46:48 +02:00
Thomas Keller 160d11b89b Properly initialize arrays with 0 for IN conditions 2011-10-04 00:37:28 +02:00
Thomas Keller 85978a4d18 Implement basic filtering capabilities in the issue search view.
Since IDF's text search component does not allow further restrictions
on the result set, we make a second, filtered query to restrict to
the item state ('open' or 'closed') and optionally a label. All in
all this is all harder than it could be, especially the tag cloud
is very monolithic and should be replaced by a data-driven component
that is less dependent on a single data / query and link usage, but
this would for now require too many changes.

Similar questionable is the code duplication for the index, listStatus
and listLabel view implementations that all do more or less the same.
The search implementation now only uses one implementation for a very
similar use case. It also removes the artificial restriction to 100
results we had previously there and does not query a record for each
single result (as was done with Pluf_Search_ResultSet previously).

On my way through this I tried to generalize a couple of i18n texts
and removed smaller issues like the "trailing comma" in label lists.

This partially fixes issue 548.
2011-10-03 01:54:01 +02:00
Thomas Keller e7c2e721b4 The tag cloud was fixed to "issues" for both, the open and closed issue list
which is clearly wrong.
2011-10-02 00:05:08 +02:00
Thomas Keller 3a8c56acc4 Postgres needs a VARCHAR cast, which MySQL doesn't understand, of
course. *sigh*
2011-07-01 13:35:43 +02:00
Thomas Keller 7b2552f940 Postgres (and probably others as well) needs an explicit char cast. 2011-06-30 00:25:29 +02:00
William MARTIN 6d55602ef3 Add IDF_Project::getIssueCountByOwner and use it into IDF_Views_Issue::summary 2011-06-15 17:30:23 +02:00
William MARTIN 5427aab456 Change "ifnull" sql function to "coalesce" which is supported by postgresql 2011-06-15 13:52:58 +02:00
William MARTIN ef5b93e3f7 Fix the special case of a empty issue tracker, for the issue summary. 2011-06-15 11:18:41 +02:00
William MARTIN 69ae1c08ef Add an sub-tab under Issue to add a summury view 2011-06-15 09:11:47 +02:00
Thomas Keller 0aa5999bb3 Finalize ticket relations (closes issue 638)
- IssueUpdate.php: use dynamically set field validators for dynamically
  created fields; let relation_type0 and relation_issue0 exist at any time;
  check the validity of a user selection and combine the various input fields
  if possible; do the database updates for links; change the "change" format
  for labels to a more precise structure and no longer trust on a leading
  dash for removed labels
- IssueCreate.php: change the validator calls and field names
- Issue.php (getGroupedRelatedIssues): make it possible to return only a
  flat list of integers for easier processing
- 17AddIssueRelations.php: migrate the previous serialized "changes" format
  for issue comments to the new, more structured format (up and down)
- js-autocomplete.html: add support for multiple input fields
- view.html: output relation changes and wrap the related issues stanzas into
  paragraphs
- NEWS.mdtext: note the addition and the need for a specific version of Pluf
2011-05-30 14:02:10 +02:00
Thomas Keller 16dda0743c Basic storage of relations for new issues has been done; the relations
are also properly displayed at the left side in the issue's detail view.
2011-05-28 23:48:00 +02:00
Thomas Keller 7e226b43d3 More work on the issue relation infrastructure
- actually query data for the incoming query
- exclude the current issue from being linked with itself
- allow multiple issues to be given in the second input field
- add the form fields to the ticket update view as well
2011-05-10 16:21:29 +02:00
Thomas Keller 9171bfd1ab Start with issue 638 (issue links); nothing workable yet. 2011-05-09 13:52:09 +02:00
William MARTIN 5ea4b02205 Update copyrigt 2011-04-02 21:37:07 +02:00
William MARTIN 6f1bb309d4 Apply the UI enhancement of issue tags cloud to wiki and download part too. 2011-02-23 22:35:43 +01:00
Loïc d'Anterroches c67e61cbaa Fixed the watch list to not crash when empty and support PostgreSQL. 2011-01-08 21:34:51 +01:00
William MARTIN afa91188d8 Enhancement of the view of an issue.
Add link previous and after to quickly jump to another issue.
Those links are pointing to issue with the same status (open/closed).

With little trick on url we can do the same thing for browse "my issue" and "my watchlist".
2011-01-06 22:38:38 +01:00
William MARTIN c2a9a60aa7 Naming conventions correction 2011-01-06 14:30:39 +01:00
William MARTIN 5635cdcac7 Remove the use of GROUP_CONCAT in SQL request. 2011-01-06 10:26:29 +01:00
William MARTIN a437da6a4c Fix sort option of forge watchlist 2011-01-05 17:51:34 +01:00
William MARTIN c7c39c6fa1 Implementation of the watch-list viewer
Fix issue 589
2011-01-05 17:02:06 +01:00
Thomas Keller 784c9718eb Implemented an extended user profile based on a patch from Jethro Carr (issue 510).
Changes with respect to the original patch:
- use Gconf instead of separate table / data scheme
- better form validation for URLs and emails
- no htmlentity-encoded contents in the database (pluf automatically safe-encodes
  stuff before it writes out contents into templates)
- add visual separators in the form views to have a distinct view of basic
  (important) data and other data which are only displayed in the public profile
- give a hint about the maximum display size of 60x60 px^2 and use max-width and
  max-height in the templates to avoid nasty distortions by the browser
- use target=_blank and rel=nofollow on the twitter and website links in the profile
- some whitespace / formatting / code style fixes
2010-12-05 01:22:32 +01:00
Thomas Keller dffeb1f9d5 * move common file-specific functionality out of IDF_Views_Source into new
IDF_FileUtil and change all occurrences accordingly
* cache /etc/mime.types (or whatever is configured) per request in a static
variable in IDF_FileUtil
* always link directly to the download of attached files in the issues view
and place an additional "view" link only for those attachments which we
recognize as text with our weak criteria (closes issue 575)
2010-12-02 01:50:01 +01:00
Loic d'Anterroches b6c5e803cb Fixed issue 114, email sent in language of commenter. 2009-10-08 11:23:33 +02:00
Loic d'Anterroches 838645463d Remove the PHP 5.3 deprecated split function. 2009-09-24 20:40:22 +02:00
Loic d'Anterroches 69a7a58ce7 Fixed issue 146, display tickets by Id. 2009-07-08 14:23:01 +02:00
Mehdi Kabab 668b49df40 Fixed issue 220, redirect to the issue or the issue comment after an updating. 2009-05-26 12:04:06 +02:00
Loic d'Anterroches 28d5ce417a Added per project list of personal closed working/submitted tickets. 2009-02-27 15:08:56 +01:00
Loic d'Anterroches 8da821eef4 Fixed issue 131, added ability to preview before submitting an issue. 2009-02-27 14:21:09 +01:00
Loic d'Anterroches a116c27c03 Fixed issue 124, JS dropdown lists not working in Issues page under IE 7 & 8.
IE does not like trailing comma in an array.
Bad: [1, 2, 3,] Good: [1, 2, 3]
2009-02-01 09:54:09 +01:00
Loic d'Anterroches 3c7ad4581f Added the display of the number of people following a ticket. 2009-01-31 22:23:49 +01:00
Loic d'Anterroches e513d95dbe Added the notification for the tickets. 2009-01-25 10:58:24 +01:00
Loic d'Anterroches c8d1b66c91 Better alignment in the table columns. 2009-01-02 14:06:50 +01:00
Loic d'Anterroches 2078d69a83 Added ticket 86, preview attached files to issues. 2008-12-30 18:00:59 +01:00
Loic d'Anterroches fd9cb62946 Added documentation wiki search. 2008-11-25 20:32:33 +01:00
Loic d'Anterroches c86cf6e5f1 Fixed issue 62, crash when searching in the issues.
The issue search is now correctly limiting the search to the issues.
2008-11-22 14:17:26 +01:00
Loic d'Anterroches 9814a75f82 Added the first work on an API. 2008-11-21 20:33:39 +01:00
Loic d'Anterroches 79312f7242 Fixed some bad path to templates. 2008-11-18 10:58:54 +01:00
Loic d'Anterroches 725ece26cd Fixed in part issue 56, the templates are in the idf subfolder. 2008-11-18 09:15:02 +01:00
Loic d'Anterroches 97425529b1 Fixed to have the short name of the subject instead of InDefero. 2008-11-16 12:11:13 +01:00
Loic d'Anterroches fa5fe0d610 Fixed ticket 36, attach a file to a ticket.
It is now possible to attach a file to a ticket.
2008-11-12 20:40:58 +01:00
Loic d'Anterroches 2acf2fb054 Removed the sort by id on the closed issues. 2008-09-03 00:06:24 +02:00
Loic d'Anterroches 763d7ca7f6 Fixed to have the latest ticket first by default. 2008-08-14 09:33:33 +02:00
Loic d'Anterroches a8db15d1e5 Added a warning when adding a comment to a closed issue.
The warning is only displayed for the simple users.
2008-08-13 21:20:47 +02:00
Loic d'Anterroches 2a1628f8de Fixed bug when doing a search with an empty query. 2008-08-13 20:47:06 +02:00
Loic d'Anterroches a1e10bd169 Added a search engine in the issues. 2008-08-13 18:26:36 +02:00
Loic d'Anterroches 0ea5171f3e Fixed the HTML to have an alt attribute for the star. 2008-08-12 12:49:59 +02:00
Loic d'Anterroches 4175fe030b Little optimisation to not lookup the starred info if anonymous user. 2008-08-12 12:48:24 +02:00
Loic d'Anterroches 1a030ea4ed Added issue 14, ability to change the interest status.
The interest status or watch list is now shown in the list of the issues
and can be changed by clicking on the star in front of the title of an
issue when looking at an issue.
2008-08-12 12:46:09 +02:00