Commit graph

3587 commits

Author SHA1 Message Date
Matt Rogers
c6637e74aa Merge pull request #157 from kytrinyx/tag-cloud-minimum
Use minimum of tag count for tag cloud
2013-03-01 04:30:27 -08:00
Katrina Owen
0f5b402427 Use minimum of tag count for tag cloud
The tag cloud minimum used to start at 0, then repeatedly compared to
the lowest count and chose the smallest, which is bound to be zero in
every case.

Discussed
[here](8c26ea7cb5 (commitcomment-2719199)).
2013-03-01 00:13:41 -05:00
Katrina Owen
8f42b25e68 Use lowest tag count as minimum 2013-02-28 23:36:08 -05:00
Matt Rogers
14a47f0480 Merge pull request #156 from kytrinyx/min-max
Swap min/max variables in i18n translation
2013-02-28 19:36:33 -08:00
Katrina Owen
d577dd9201 Completely whimsical whitespace adjustment. 2013-02-28 22:32:24 -05:00
Katrina Owen
d478efdd01 Move font calculation into tag cloud 2013-02-28 22:30:34 -05:00
Matt Rogers
08967868dc Merge pull request #155 from kytrinyx/fix-typo
Correct typo in variable name
2013-02-28 19:26:15 -08:00
Katrina Owen
2321d1f2a3 Call the cloud partial twice
Delete half the partial, and use each of the cloud objects to call it.
2013-02-28 22:03:39 -05:00
Katrina Owen
b5868d5c70 Use tag cloud objects in view
This allows us to not set the individual instance variables for the tag
cloud attributes.
2013-02-28 22:00:23 -05:00
Katrina Owen
61e04a8258 Extract methods in tag cloud
This gets rid of the compute method, and makes each value that got set
in it its own little method.
2013-02-28 21:53:19 -05:00
Katrina Owen
447178bd7d Collapse duplication in tag cloud model 2013-02-28 21:30:36 -05:00
Katrina Owen
edc793e703 Rename variables
The current user isn't necessarily current when it is in the model
layer.

The exposed attributes on the tag cloud no longer need to contain type
information.
2013-02-28 21:18:00 -05:00
Katrina Owen
8f6d57014a Extract tag cloud class from stats controller 2013-02-28 21:08:48 -05:00
Katrina Owen
cb9073f4bd Swap min/max variables in i18n translation
The :min was pointing at the max value, and the inverse.

I had to tweak a few of the language files as well, to make sure that
minimum and maximum are pointing to the correct values.

I didn't touch the hebrew language file, so someone with the correct
language skills may want to take a look at it to make sure that the text
matches the interpolation variables that get sent in.
2013-02-28 20:43:11 -05:00
Katrina Owen
ce9db80743 Correct typo in variable name 2013-02-28 20:34:46 -05:00
Reinier Balt
1d932ccfe5 fix failing scenario 2013-02-27 21:50:03 +01:00
Reinier Balt
48e47fc009 remove dynamic finders from cucumber scenarios 2013-02-27 20:02:01 +01:00
Reinier Balt
2b2572a2d1 set caching back to false for development environment
this was accidentally added to a previous commit
2013-02-27 12:06:25 +01:00
Reinier Balt
ef91dd0c64 another set of dynamic finder migrations. All non-cucumber tests pass 2013-02-27 11:50:49 +01:00
Reinier Balt
64a198d45a Merge pull request #154 from whatsbcn/master
fastcgi with rails 3
2013-02-25 13:58:15 -08:00
Albert Sellarès
7f93660f95 Changed to work with rails 3 2013-02-25 21:27:03 +01:00
Reinier Balt
583664be36 remove some dynamic finders (they are deprecated for rails4) and add test for untested method of context.rb 2013-02-25 10:21:04 +01:00
Reinier Balt
402b078c02 update gems 2013-02-23 15:16:03 +01:00
Reinier Balt
9edde5c789 sync docs with 2.2 release 2013-02-23 13:12:58 +01:00
Dan Rice
04f91292ff Point to instructions in /doc instead of online 2013-02-22 18:26:49 +02:00
Reinier Balt
3482af5072 fix #1393 by calculating todo count for hidden projects too 2013-02-20 20:08:15 +01:00
Matt Rogers
a94ea6b0f2 Merge pull request #153 from kytrinyx/tag-to-s
Override #to_s on Tag for simplified joining
2013-02-19 08:30:26 -08:00
Katrina Owen
0b733b6183 Override #to_s on Tag for simplified joining 2013-02-19 08:47:47 -07:00
Matt Rogers
01b7f78f3c Merge pull request #152 from kytrinyx/after-destroy-destroy
Rename callback for clarity
2013-02-19 07:15:07 -08:00
Katrina Owen
bb88674856 Rename callback for clarity 2013-02-19 07:54:09 -07:00
Matt Rogers
0df2faf553 Merge pull request #151 from kytrinyx/tag-label
Add Tag#label method
2013-02-18 18:31:41 -08:00
Katrina Owen
95a4ed6e4a Add Tag#label method 2013-02-18 15:12:53 -07:00
Reinier Balt
f56fc1945c change upgrade 2013-02-18 20:30:38 +01:00
Reinier Balt
585583d1ca add install and upgrade manual to master 2013-02-18 19:52:42 +01:00
Reinier Balt
cf248b9115 fix #1396 and add a test for it 2013-02-18 17:15:09 +01:00
Reinier Balt
c61d0cbdb7 fix #1395 and speedup context.autocomplete a lot 2013-02-18 16:44:46 +01:00
Matt Rogers
4f6e6e3e4d Merge pull request #150 from kytrinyx/fix-failing-tag-test
Find tag by lowercase name in tag test
2013-02-17 20:13:05 -08:00
Katrina Owen
f28ff70f77 Find tag by lowercase name in tag test
The sqlite3 database is case sensitive, so searching for 'UPPER' when
the tag name has been changed to 'upper' before saving it will result in
an empty tag.
2013-02-17 19:41:28 -07:00
Reinier Balt
6fa70db39e fix updating dependency trees when changin a name. Including invalidating cache when
necessary
2013-02-17 17:37:44 +01:00
Reinier Balt
1b0d08bbb5 fix timing issues on failing scenarios. Fix deprecated jquery functions and update jqueryui
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2013-02-15 22:27:39 +01:00
Dan Rice
98fbbccdcb Update Rails to 3.2.12 (security fix) 2013-02-11 19:24:52 -05:00
Dan Rice
4d3ba2a012 Remove Mongrel and other Ruby-1.8-specific development gems 2013-02-07 20:14:23 -05:00
Dan Rice
50a1802624 Merge pull request #146 from nibua-r/french-i18n-improvements
Delete a fr partial
2013-02-07 09:38:30 -08:00
Renaud AUBIN
9b4db12971 Delete a fr partial
Manage the fr particularism within the default partial.
2013-02-07 18:19:31 +01:00
Dan Rice
ee2a00bff4 Merge pull request #145 from nibua-r/french-i18n-improvements
French i18n improvements
2013-02-06 17:48:30 -08:00
Renaud AUBIN
e58919df03 Improve fr i18n (minor)
Fixes orthographic mistakes and some case-related issues.
2013-02-07 00:37:18 +01:00
Renaud AUBIN
63678cabff Particularize a project partial for french language
Words order isn't the same for fr projects state labels. This commit
duplicate the default partial and reorder the wording for fr.
2013-02-07 00:34:21 +01:00
Dan Rice
6cd1523c5a Merge pull request #144 from nibua-r/french-i18n-improvements
Improve i18n french (Tolk workflow)
2013-02-05 16:31:19 -08:00
Renaud AUBIN
eea44c413d Improve i18n french (Tolk workflow)
Miscellaneous improvements from orthographic or translation mistakes to
typographic conventions (restrained to existing keys). Add some missing
strings.
2013-02-06 01:10:09 +01:00
Dan Rice
aba222ff41 Rename Czech locale from cz to cs as per ISO 639-1 2013-02-05 11:08:21 -05:00