Tom Hughes
bfffe7ed96
Prefer string interpolation to concatenation
2020-11-13 11:32:28 +00:00
Tom Hughes
5b33f3f8e3
Fix rubocop warnings
2017-06-02 00:08:30 +01:00
Tom Hughes
dc2a2c8ebd
Standardise on double quoted strings
2015-02-20 19:47:26 +00:00
Tom Hughes
baf10cd392
Fix rubocop lint issues
2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c
Fix most auto-correctable rubocop issues
2015-02-20 08:56:16 +00:00
Tom Hughes
34e3e51456
Cleanup trailing whitespace
2015-02-20 08:56:16 +00:00
Tom Hughes
7c75767c9b
Restore original limits for user lists in statistics
2014-08-05 09:24:20 +01:00
Tom Hughes
204486e824
More modernisations for the statistics script
2014-07-25 16:49:40 +01:00
Tom Hughes
ace29736c7
Modernise statistics script to work with rails 4.1
2014-07-25 16:40:53 +01:00
Tom Hughes
c94e059d2d
Use zip instead of SyncEnumerator in statistics script
2012-11-01 00:35:31 +00:00
Tom Hughes
68bb9b3b81
Fix statistics script to reflect changes to user model
2010-05-07 11:09:54 +01:00
Tom Hughes
e6269e25f5
Add an exit statement to avoid noise from rails.
2009-11-06 08:40:37 +00:00
Tom Hughes
138a9d9764
Ignore traces which have not been inserted yet when calculating
...
the per-user statistics.
2009-10-15 10:09:33 +00:00
Tom Hughes
088b4ae1e2
Do the statistics generation in a transaction.
2009-04-30 07:54:26 +00:00
Tom Hughes
5c734eb7ae
Use :joins instead of :include to pull in the changesets - this does an
...
inner join instead of a left outer join (which is fine as all objects should
have a changeset) and more importantly stops rails generating a subquery
that doesn't work.
2009-04-29 23:45:54 +00:00
Tom Hughes
6ee333cba7
Use postgres interval syntax.
2009-04-22 13:41:17 +00:00
Tom Hughes
9b2248e8fb
The active flag is still an integer for some reason, not a boolean.
...
Closes #1727 .
2009-04-22 13:34:12 +00:00
Tom Hughes
2e2b556a25
Fix statistics script to work with 0.6 database schema.
2009-04-16 11:38:02 +00:00
Tom Hughes
3336fd9469
Link to user pages.
2008-08-03 20:58:58 +00:00
Tom Hughes
f29300bf1a
Stop trying to report on the number of ways with tags because (a) almost all
...
ways have tags so it isn't very interesting and (b) it locks up the API every
night as it involved a join to a MyISAM table.
2008-01-07 00:33:54 +00:00
Tom Hughes
e8dbe46f7e
Use a consistent name for the variable holding the relation count.
2007-10-07 14:16:14 +00:00
Frederik Ramm
27834b0a82
add relations to stats
2007-10-05 01:10:23 +00:00
Frederik Ramm
78b440ffc1
preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue
2007-08-29 22:00:26 +00:00
Tom Hughes
0eee4fecbe
Fix counting of tagged ways, and handle having more users in the days
...
columns than the other columns.
2007-08-01 16:05:13 +00:00
Tom Hughes
d34bc8cb52
Fix the "number of users editing..." table.
2007-08-01 15:19:45 +00:00
Tom Hughes
500e6e687f
Some statistics improvements:
...
- Show top 50 GPX uploaders, not just top 10
- Show counts for editors again
- Show all editors for the last day, not just top 60
2007-08-01 15:15:06 +00:00
Tom Hughes
dc09bde7f7
Only count visible objects.
2007-08-01 14:42:58 +00:00
Tom Hughes
21c21ccd9c
Add a statistics script to replace the horrid (and not in the
...
repository) one we're using at the moment.
2007-08-01 12:38:53 +00:00