6 Commits

Author SHA1 Message Date
Thomas Keller
03404adf64 - move getProjectsWithLabelCounts to IDF_Views (where the other functions
reside as well) and make it static
- refactor out the code from getProjects that determines which projects
  are visible by a user and use the same code to restrict the count that
  we calculate for all available project tags
- calculating the project stats is now no longer O(5n) but simply O(5)
  when it comes to SQL queries (where n is the number of filtered projects);
  remove the member statistic since it makes no sense in this context
2012-05-04 23:31:07 +02:00
Thomas Keller
75f62663a9 Make the project field in the tags table nullable so it is (hopefully)
optional on setups with enabled foreign key constraints.
2012-04-19 00:14:10 +02:00
Thomas Keller
91dcc78796 Render tags that are set on many projects larger and tags that are set on
only few projects smaller.
2011-12-27 03:34:53 +01:00
Thomas Keller
f4058ddd69 Implement a simple form to save custom markdown-enabled content in the
forge's admin area that is displayed instead of the default project list.
Sanitize the URLs that we're using and make a redirect to the listProjects
page when no custom forge page is enabled.
2011-12-24 15:50:41 +01:00
Thomas Keller
6e305eb541 Add filtering and sorting capabilities to the project list page and
also render the project activity with a small bar graph below the
logo image. Sanitize the tagcloud css.
2011-12-24 02:45:01 +01:00
Thomas Keller
63bc47e7b7 Save / restore project labels for the forge. 2011-12-06 20:39:15 +01:00