Commit graph

1530 commits

Author SHA1 Message Date
Matt Rogers
f2647e3f94
Remove deprecations printed out in the test suite 2018-11-20 19:57:02 -06:00
Matt Rogers
32d267d6cd
Remove private variable usage from models
It seems that `@new_record_before_save` as an instance variable has been
present since around 2007 and it wasn't until Rails 5.1 that things were
changed in such a way to make this inaccessible now.
2018-11-12 13:23:30 -06:00
Matt Rogers
78742d15b8
Remove rendering of the charts
There's something wrong with the swf_fu gem. It's not worth it to fix a
gem that hasn't seen any activity in six years and is using outdated
flash technology in the first place.
2018-11-12 13:19:49 -06:00
Matt Rogers
c3a13bca16
Fix the undefined reference to Staleness
Not sure what's going on with Rails' autoloading here, so fix it the
ruby way by using plain ol' `require`
2018-11-12 08:55:42 -06:00
Matt Rogers
0e21d64890
Convert to ApplicationRecord
Rails 5 requires the use of this superclass for all database backed
model objects now.
2018-11-03 15:57:14 -05:00
Matt Rogers
6d81e14b41
Use a non deprecated method to collect errors
Hash-based access to set an error is deprecated. Use
ActiveModel::Errors.add instead.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-11-03 15:12:27 -05:00
Matt Rogers
7fe0cf271a
Access MIME types via hash lookup instead of constant
Use a constant to look up a mime type is deprecated.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-11-03 15:02:00 -05:00
Matt Rogers
6e70fcbe5e
Update how the sorting is done in the User model
Use the `sort_by` method to do the sorting rather than converting to an
array and then calling `sort`

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-10-27 11:27:22 -05:00
Matt Rogers
cf6f9de377
Merge pull request #2115 from hewo/feature_search_in_navbar
Feature search in navbar
2018-09-23 13:55:26 -05:00
Matt Rogers
b5faedb4ff
Use reload to reload AR models
Passing a boolean to the model method will stop working in Rails 5.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:12:23 -05:00
Matt Rogers
506f3f991a
Convert render :nothing => true to head :ok
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:06:38 -05:00
Matt Rogers
17f704a074
Convert after_filter to after_action
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:04:46 -05:00
Matt Rogers
5805c511bb
Convert render :text to render :body
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:03:35 -05:00
Matt Rogers
60ae4f6f5f
Convert before_filter to before_action
`before_filter` has been removed in future versions of rails.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 12:55:27 -05:00
Heiner Wohner
3786d12e5a removes bootstrap css class from main view 2018-09-03 13:30:48 +02:00
Heiner Wohner
5117ec7d99 add searchbar to navbar 2018-09-03 12:39:05 +02:00
ericmoon
6dcaa76f09 cucumber removal 2018-07-24 12:34:55 -07:00
Matt Rogers
a65ab48b9f
Merge pull request #2096 from RyanTruran/origin
A more rational way to load the text input with the previous names
2018-01-03 09:31:36 -06:00
Ryan Truran
db7603f799 A more rational way to decode the html entities in editable
a more rational way to handle edit fields

revert to previous

add html_safe
2017-12-28 10:01:54 -06:00
Matt Rogers
500892e1a4 Fix the top 10 longest running projects list
Sorting by running time without a reverse takes the shortest running
projects.
2017-06-13 17:12:15 -05:00
Carsten Otto
b7bada0791 reorder buttons for recurring todos to make the order uniform
fixes #2069
2017-03-18 14:42:34 +01:00
Carsten Otto
ccac45b377 fix typo 2017-03-05 13:56:36 +01:00
Carsten Otto
238b2fd670 add missing space
bug introduced in c46e5a9e1d

fixes #2063
2017-02-28 22:16:48 +01:00
Dan Rice
55c5d07aff Limit swf_fu to the stats page
Fixes #2061
2017-02-12 15:27:00 -05:00
Dan Rice
1ba829e960 Merge branch '2.3_branch' 2016-10-15 13:13:02 -04:00
Matt Rogers
e01872d515 Merge pull request #2016 from C-Otto/fix-feeds-2.3
use @not_done_todos for feeds
2016-08-27 10:12:59 -05:00
Matt Rogers
c2296b5b99 Use Arel to generate case insensitve tag searches 2016-08-25 23:10:40 -05:00
Carsten Otto
a2726de78c fix typo 2016-07-19 19:10:15 +02:00
Dan Rice
5a5d293b80 Fix navbar link title of "Recurring Todos" 2016-06-25 20:16:22 -04:00
Dan Rice
23a22413f5 Load jquery-ui-rails CSS via "require" instead of "import"
Fixes #2024 and #2025
2016-06-25 16:55:17 -04:00
Matt Rogers
7748253388 Merge pull request #1910 from dnrce/rails42
Upgrade to Rails 4.2
2016-06-14 19:27:18 -05:00
Robin Dickson
67f33b3e39 Remove JS for search input autofocus
Previously replaced by HTML5 autofocus.
2016-06-06 16:28:14 +01:00
Robin Dickson
9dc698e775 Convert search page to use bootstrap 2016-06-06 11:23:45 +01:00
Carsten Otto
f26f72272b remove TODO from code, migrated to #2018 2016-05-29 23:03:58 +02:00
Carsten Otto
6bc9151400 use @not_done_todos for feeds
fixes #1726

the name @not_done_todos is wrong and should be replaced in a dedicated fix
2016-05-29 22:59:42 +02:00
Dan Rice
d7d86446c0 Upgrade to Rails 4.2
* Update boilerplate with `bin/rake rails:upgrade`
* Use test instead of test:all rake task
* Change stylesheet extensions from .css.scss to .scss
* Update docs to use localhost instead of 0.0.0.0 because Rails 4.2
  no longer listens on all addresses by default.
2016-05-22 21:58:52 -04:00
Matt Rogers
fa7f49e399 Revert "Don't include a protocol or domain for relative_to_root" 2016-05-20 22:50:17 -05:00
Matt Rogers
ce453e7e1a Merge pull request #2010 from dnrce/fix-recurring-todo-dialogs
Fix recurring todo dialogs
2016-05-20 22:49:06 -05:00
Matt Rogers
3eaa54a190 Merge pull request #2006 from rbndickson/fix-search-results-heading
Fix spacing in search results heading
2016-05-20 22:47:35 -05:00
Dan Rice
091697fe1e Fix recurring todo edit form formatting
Fixes #1938
2016-05-18 17:02:15 -04:00
Dan Rice
1227eaa84c Move the recurring todo dialog below the navbar
Fixes #2007
2016-05-17 22:50:32 -04:00
Dan Rice
4ad65ea079 Only show the date on large displays 2016-05-15 22:37:03 -04:00
Dan Rice
5173f94993 Condense "Admin", "Help", and "Logout" into a single "Options" menu 2016-05-15 22:37:03 -04:00
Dan Rice
1dfdad96fe Add a helper for fixed-width icons 2016-05-15 22:37:03 -04:00
Dan Rice
73a6925054 Remove the navigation_link helper 2016-05-15 22:37:03 -04:00
Dan Rice
836d790f9f Replace search icon with glyph 2016-05-15 22:37:03 -04:00
Dan Rice
14a4da8a71 Add Font Awesome icon support 2016-05-15 22:37:03 -04:00
Robin Dickson
f5ae06899f Fix spacing in search results heading
Based on the style used in the projects index page.

Fixes #2003.
2016-05-15 18:09:06 +01:00
Carsten Otto
ed3bca22a4 Remove 'project_hidden' state
Compute it using project/context state

Notable change:
todo.hidden? now also returns true if the todo is completed
2016-04-16 09:27:33 +02:00
Dan Rice
0843b78d08 Clean up reference to check_for_deprecated_password_hash
Ref #1733
2016-02-28 17:58:03 -05:00