Commit graph

3341 commits

Author SHA1 Message Date
Reinier Balt
d3aa73f783 first select than sort
sorting on a smaller collection is faster
2015-08-19 15:21:11 +02:00
Reinier Balt
405ad5a79f Fasterer: Enumerable#sort is slower
Enumerable#sort is slower than Enumerable#sort_by
2015-08-19 15:19:47 +02:00
Reinier Balt
5092b388fe Fasterer: Parallel assignment is slower
Parallel assignment is slower than sequential assignment.
Only got the low hanging fruit. There are some functions that
have multiple return values. Fixing this needs more refactoring.
2015-08-19 15:12:52 +02:00
Reinier Balt
9f81e1a5c3 fasterer: Use attr_reader for reading ivars. 2015-08-19 14:52:13 +02:00
Reinier Balt
0d224a5fe9 fasterer: hash#fetch with block is faster
hash#fetch with block is faster than hash#fetch with
second parameter
2015-08-19 14:49:52 +02:00
Reinier Balt
ddd9c07d3b Fasterer: Use &:symbol is faster
Calling argumentless methods within blocks is slower than using
symbol to proc.
2015-08-19 14:48:31 +02:00
Dan Rice
8a378aa2c4 Merge pull request #1907 from TracksApp/remove-google-gadget-integration
Remove the Google Gadget Integration
2015-08-08 07:43:38 -04:00
Reinier Balt
2c33cdfaae Mention adding email as attachement of todo to changelog 2015-08-08 10:50:35 +02:00
Matt Rogers
bb934b6474 Remove the Google Gadget Integration
Google has discontinued the "Add any gadget by URL" Labs feature. Remove
the feature from the application.
2015-08-07 21:31:00 -04:00
Matt Rogers
5342877caf Merge pull request #1865 from C-Otto/tracks-1840
Show links to context/project also for completed actions
2015-08-07 21:06:27 -04:00
Matt Rogers
486204c1d7 Merge pull request #1888 from C-Otto/tracks-1882
navigate back to note's project after deletion
2015-08-07 21:05:21 -04:00
Matt Rogers
4c24c4cd18 Merge pull request #1886 from C-Otto/tracks-1878
Ignore time, so that one can always defer to the due date
2015-08-07 21:03:45 -04:00
Matt Rogers
bca2440ca0 Merge pull request #1857 from C-Otto/tracks-1852
Show meaningful numbers in badge for completed projects and recurring actions
2015-08-07 21:01:32 -04:00
Matt Rogers
50421fc19b Merge pull request #1825 from C-Otto/sort-containers
Sort containers
2015-08-07 20:35:54 -04:00
Matt Rogers
3d77e11a87 Merge pull request #1853 from C-Otto/tracks-1851
Do not open 'new note' form when clicking unrelated links
2015-08-07 20:34:08 -04:00
Matt Rogers
a9023960fc Merge pull request #1848 from C-Otto/tracks-1847
Fix description of monthly recurring tests
2015-08-07 20:29:40 -04:00
Matt Rogers
f393afb69f Merge branch '2.3_branch'
This brings the master branch up to date with the 2.3 release branch
2015-08-07 20:27:14 -04:00
Matt Rogers
9089e15788 Merge pull request #1885 from C-Otto/tracks-1789
(2.3) Update project name and context name in 'new action' form
2015-08-07 20:08:18 -04:00
Matt Rogers
dcc13981cc Merge pull request #1874 from C-Otto/tracks-1835
(2.3) remove all tab indices
2015-08-07 20:03:47 -04:00
Matt Rogers
258528460d Merge pull request #1873 from C-Otto/default-context-choice-2.3
(2.3) in tag view, do not use more-or-less random context for the form
2015-08-07 20:02:01 -04:00
Matt Rogers
efbf881742 Merge pull request #1872 from C-Otto/create-reviewed-2.3
(2.3) create projects as reviewed at creation time
2015-08-07 19:59:57 -04:00
Matt Rogers
083fe42b5c Merge pull request #1770 from GregSutcliffe/backport-groups
Update Gemfile and install doc to use db groups
2015-08-07 19:58:07 -04:00
Matt Rogers
d5f6480f58 Merge pull request #1900 from TracksApp/enlarge-touch-points-for-mobile-ui
Increase the usability of the new todo mobile view
2015-08-07 19:54:55 -04:00
Matt Rogers
1c0a70df75 Merge pull request #1903 from lrbalt/fix-test-errors
Fix failing tests for non-UTC timezones
2015-08-07 19:50:58 -04:00
Matt Rogers
00143ece20 Merge pull request #1905 from lrbalt/add-attachments
Add attachments to Todo model using Paperclip
2015-08-07 19:49:35 -04:00
Reinier Balt
5cabeca155 enhance MessageGateway to save email as attachment 2015-08-05 16:05:56 +02:00
Reinier Balt
f2c6c2d3af show attachment in view and make it downloadable 2015-08-05 16:05:56 +02:00
Reinier Balt
2bd68fecb7 Create attachment model and hook it up to todo
An attachment has write permissions on group so that managing
attachments work from different users in same group, i.e. user apache
and user mail.
2015-08-05 16:05:19 +02:00
Reinier Balt
5499ac2a03 Add paperclip gem 2015-08-05 13:07:47 +02:00
Reinier Balt
e58379e81f This fixes failing tests when the timezone is different than utc
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
  date verbatim
* calling a controller will set the timezone to the preference of the
  current_user. So it could be changed while you do not realize this. I
  fixed the failing test, but problems could be elsewhere
2015-08-05 11:50:33 +02:00
Matt Rogers
0b44fe3f08 Merge pull request #1904 from lrbalt/update-travis
use sudo:false to migrate to new travis infra
2015-08-04 21:25:00 -04:00
Reinier Balt
eb42fff4d5 Remove codeclimate token. It is now set in the repo settings on travis
the secret encypted token is not working anymore
2015-08-04 23:46:25 +02:00
Reinier Balt
f2a2482a18 use sudo:false to migrate to new travis infra 2015-08-04 23:20:20 +02:00
Matt Rogers
c37d618e77 Merge pull request #1901 from matjack1/enlarge-touch-points-for-mobile-ui
Use box-sizing: border-box to style mobile input
2015-08-02 22:49:04 -04:00
Matteo Giaccone
a9d0c86f67 Use box-sizing: border-box to style mobile input 2015-07-29 21:47:43 +01:00
Matt Rogers
aa36fb97ab Use hexadecimal values for color 2015-07-25 07:59:56 -05:00
Matt Rogers
568996ae73 Shorten the padding declaration.
A padding declaration of `8px 8px` is the same as just writing `8px` so
use the shorter version
2015-07-25 07:59:10 -05:00
Matt Rogers
2a6afba56e Fix indentation to match the rest of the file 2015-07-25 07:58:39 -05:00
Matt Rogers
f5af02d314 Enlarge the font size for select boxes
The text for the select boxes on mobile is tiny. The makes them hard to
hit. Combined with the padding added earlier, this makes the select
boxes more usable when dealing with a mobile UI.
2015-07-24 22:36:09 -05:00
Matt Rogers
811d5321c2 Add padding for the input boxes on the todo form
This makes them easier to hit on mobile with a finger.

The 8 pixel value is an arbitrary number not really based on anything
other than the fact that it looked better than the lower numbers I
tried.
2015-07-24 22:35:32 -05:00
Matt Rogers
f234fbd4e8 Improve the buttons on the mobile interface
Add some padding so that they're larger and easier to hit with a finger
2015-07-24 22:28:22 -05:00
Dan Rice
013b260a1b Fix spacing in MySQL arguments
Fix #1899

[ci skip]
2015-07-23 20:34:45 -04:00
Dan Rice
6bcae280c3 Update jquery-rails
Address CVE-2015-1840
2015-06-20 12:32:06 -04:00
Dan Rice
577fa0b501 Merge pull request #1883 from suraia/favicon
Increase favicon size to 32x32 pixels
2015-06-19 12:04:59 -04:00
Michael Kuhn
1608faaf28 Add 32x32 favicon
It is based on apple-touch-icon.png and looks much better on HiDPI displays.
2015-06-19 17:38:45 +02:00
Dan Rice
c7359a3ec2 Merge branch '2.3_branch' 2015-06-17 20:48:11 -04:00
Dan Rice
4070f4e03a Version 2.3.0 2015-06-17 20:43:05 -04:00
Dan Rice
0dae5ccde0 Merge branch '2.3_branch' 2015-06-17 10:27:10 -04:00
Dan Rice
4c9685bb8b Merge pull request #1893 from dnrce/rails-4.1.11
Update Rails to 4.1.11
2015-06-17 10:22:27 -04:00
Dan Rice
da8f9828e0 Merge branch '2.3_branch' 2015-06-16 22:59:41 -04:00