Skip to content

Release January 2018 / 1 #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 73 commits into from
Jan 30, 2018
Merged

Release January 2018 / 1 #303

merged 73 commits into from
Jan 30, 2018

Conversation

sauloperez
Copy link
Collaborator

@sauloperez sauloperez commented Jan 30, 2018

Creating a new release that includes the following changes:

  • Alphabetically sort tags in tags list
  • Remove duplicated code related to transfers
  • Users list is now paginated on the server side
  • Removed angular completely
  • Upgraded to Rails 4.2.7.1
  • Removed unnecessary gems. Smaller memory footprint 🎉

The PRs that introduced said changes are: #241, #264, #272, #283, #294, #302

sseerrggii and others added 30 commits February 27, 2017 17:44
This duplicates the UsersController#give_time to TransferController#new
as it should be by Rails conventions. We aim to stick to REST
conventions of the Transfer resource instead of having custom actions on
users and organizations controllers.
This duplicates the OrganizationsController#give_time to
TransferController#new as it should be by Rails conventions. We aim to
stick to REST conventions of the Transfer resource instead of having
custom actions on users and organizations controllers.
This is slowly turning "turning difference into sameness" following
Sandi Metz style.
By specifying the account id we can abstract away from User or
Organization objects and trust just the account. As a result, this
removes ifs and therefore complexity.
Then each particular view knows what type the accountable has and uses
the appropriate methods like user_path or organization_path.
This makes the controller specs integration-like enough to ensure things
keep working when we later refactor the views and the controller ivars.
Now transfers/new.html.erb and transfers/new_organization.html.erb are
identical. All their differences were moved to partials as if we
extracted abstract methods in a class and moved the conditionals within
them.
Now there's no point on using one for user/member and another one for
organization.
…ive organization and it can’t be queried directly from the database
sauloperez and others added 29 commits January 15, 2018 09:19
Provides a name to the action_item added to have the "Upload CSV"
button as speciied by ActiveAdmin docs.
It was introduced in eb78969 and used
in the _navbar but it became dead in
0fecd89 when the navbar was refactored.

Now we use `I18n.available_locales`.
Remove dead #languages_list helper
It extracts compound conditionals, adds some doc and emphasizes problems
that arise from the current implementation such as the fact that
max_allowed_balance it's either Integer or Float.
https://github.com/heroku/rails_12factor install instructions clearly
state that this should go into the :production group in the Gemfile.
You can install in your dev system if you want. No need to add the extra
maintainability cost to keep the dependency up to date.
According to its docs, "DEPRECATED: Use `travis lint` (from travis gem)
instead". Also, "there's also an online version of this tool at
lint.travis-ci.org."
As stated in its docs, it should go in those groups. It's not meant to
be used in production.
No need for a comment. This is what git is for. To keep track of
changes.
This removes the scroll bar that shows up in the users list, which you
can't move at all.
…ers-controller

Move give time action to transfers controller
Refactor Users#index to paginate and filter on the backend. Closes #266
This attribute belongs to another model, so Rails couldn't find its
translation.
Fix translations not being picked up
@sauloperez sauloperez merged commit 1db6442 into master Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants