Skip to content

Release v1.6.0 #394

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 159 commits into from
Aug 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
89d9a8d
Added device_tokens endpoint
mllocs Feb 23, 2018
749073b
Added JS lib to register a device_token
mllocs Feb 23, 2018
5248f93
Documented and renamed the mobile app js libs
mllocs Mar 3, 2018
38ecee1
Removed unnecessary index
mllocs Mar 3, 2018
d3e7bc3
Improved device tokens controller and added specs
mllocs Mar 3, 2018
f90d6e4
Refactored the push notifications services
mllocs Mar 3, 2018
a8ea1ac
Added uniqueness validation on DeviceToken user/token pair
mllocs Mar 14, 2018
390cc4c
Add first sign in feature specs
sauloperez Jul 29, 2017
03b8660
Add sign out feature spec
sauloperez Jul 29, 2017
450d0f8
Install chrome in CI to run spec/features
sauloperez Aug 1, 2017
631f416
Dry feature specs with #sign_in_with helper method
sauloperez Aug 1, 2017
e60ceb8
Remove unused transactional fixtures config
sauloperez Aug 1, 2017
1c2a359
Add feature test for offer transfer between users
sauloperez Aug 11, 2017
b8cc72a
Abstract feature transfer spec
sauloperez Aug 11, 2017
2b9275c
Use the Travis' chrome addon in headless mode
sauloperez Aug 11, 2017
3cfd9da
Fix style
sauloperez Aug 16, 2017
7045471
Make t&c creation fail fast
sauloperez Aug 16, 2017
ad099a5
Fix database cleaner config
sauloperez Aug 16, 2017
771aac4
Upgrade Capybara to 2.7
sauloperez Aug 16, 2017
0a9f8f5
Load RSpec 2+ capybara support
sauloperez Aug 16, 2017
1512cd3
wtf
Morantron Mar 4, 2018
0e89b13
use capybara feature DSL so DatabaseCleaner uses truncation strategy
Morantron Mar 15, 2018
f129448
fix sign_in spec ( read cookies to assert sign_in status )
Morantron Mar 15, 2018
318ee22
bump database_cleaner
Morantron Mar 18, 2018
c4e3db4
fix database cleaner conf
Morantron Mar 18, 2018
9f91e02
better assertions in sign_in spec
Morantron Mar 18, 2018
96a75f2
fix transfer spec
Morantron Mar 18, 2018
68e96da
configuring chrome in travis.yml
Morantron Mar 20, 2018
90ac1d4
fix sign out spec
Morantron Mar 25, 2018
94c50fb
hack alert: run feature specs at the end, truncating mess ups other t…
Morantron Mar 25, 2018
5f22849
Fixed wrong controller parent class for DeviceTokens
mllocs Mar 31, 2018
1ace872
create offer spec WIP
Morantron Apr 1, 2018
8ae3a3b
Merge pull request #329 from coopdevs/feature/device-tokens
enricostano Apr 11, 2018
ae517a4
Added PostPersister
mllocs May 1, 2018
440051a
Added TransferPersister
mllocs May 1, 2018
e8c6ef1
Added MemberPersister
mllocs May 1, 2018
e9eb717
Merge pull request #347 from coopdevs/feature/introducing-post-persister
sauloperez May 2, 2018
5752cd8
Use membership decorator in view [WIP]
rewritten May 8, 2018
f6e5128
WIP
rewritten May 8, 2018
5c2c25b
WIP
rewritten May 8, 2018
67f8423
Added missing tests; extract partials from row
rewritten May 9, 2018
8b7595c
Fix last test
rewritten May 9, 2018
acc0a61
Fix tests after running whole suite
rewritten May 9, 2018
cd25968
Sorting by balance spec wasn't stable, check just th relevant position
rewritten May 9, 2018
c775567
Merge pull request #333 from coopdevs/feature-specs
enricostano May 10, 2018
a60cdac
Allow to search users by member_uid
markets May 12, 2018
fdb3120
minor organizations code/tests clean up
markets May 12, 2018
317db4e
CR suggestions
rewritten May 13, 2018
edd4797
Make the member list view do ransack on members table
rewritten May 14, 2018
0dabcd1
Ransack form can be configured. RTFM.
rewritten May 14, 2018
d42625c
Nicer encapsulation of search params
rewritten May 14, 2018
57fe79c
Set back the loglevel to warn in test env
rewritten May 14, 2018
b9d9b96
organizations: add constraints at db level: not nullable name, unique…
markets May 14, 2018
79469a7
Upgrade Skylight from 1.5.0 to 2.0.1
sauloperez May 15, 2018
8e3a826
Enable Skylight in staging
sauloperez May 15, 2018
2f96ee7
Custumized boostrap and changed the primary color
mllocs May 8, 2018
3543b30
Removed bootstrap overriding hacks and used variables instead
mllocs May 8, 2018
c1a04a6
Removed Tags menu item for non admin users
mllocs May 8, 2018
c10b3fb
Added a comment in custom bootstrap to explain why we have commented …
mllocs May 15, 2018
d52778e
Merge pull request #357 from coopdevs/sklight-upgrade
sauloperez May 16, 2018
ae0d939
Added dashbaord events
mllocs May 1, 2018
d7b3f60
Fixed typo and hashrocket
mllocs May 7, 2018
17a20bc
Added Event model specs
mllocs May 7, 2018
780d733
Update and configure shoulda-matchers
enricostano May 10, 2018
b08f271
Modify events table migration with plain SQL
enricostano May 10, 2018
0da31cb
Add more specs to Event model
enricostano May 10, 2018
43a0f4f
Use Rails enum, backed by an integer column with CHECK constraint
enricostano May 16, 2018
898ee75
Fix and improve specs
enricostano May 16, 2018
0eb2536
Use ActiveRecord DSL as much as possible
enricostano May 17, 2018
833bf30
Create :updated event on Post update
enricostano May 17, 2018
dabf7e4
Create :created and :updated event for Member
enricostano May 17, 2018
b495581
Create :created and :updated event for Transfer
enricostano May 17, 2018
e45a9bb
Merge pull request #351 from coopdevs/feature/membership-decorator
sauloperez May 17, 2018
f07b502
Merge branch 'develop' into search_member_uid
markets May 17, 2018
22cda5d
- Fix ransacker casting (https://github.com/activerecord-hackery/rans…
markets May 18, 2018
f26377d
Merge pull request #348 from coopdevs/feature/dashboard-events
enricostano May 18, 2018
6b14eca
Add sidekiq gem
enricostano May 10, 2018
19a1c92
Set sidekiq as ActiveJob backend
enricostano May 10, 2018
c57c6be
Merge pull request #353 from coopdevs/feature/background-jobs
enricostano May 18, 2018
895ccca
Merge branch 'develop' into orgs_minor_refactor
markets May 18, 2018
48b4f1a
Merge pull request #355 from coopdevs/orgs_minor_refactor
enricostano May 18, 2018
34a0e00
specs: check the relevant position in sorting tests
markets May 19, 2018
4c45cf6
Fix database configuration
enricostano May 22, 2018
a75a76e
Merge pull request #350 from coopdevs/feature/custom-bootstrap
sauloperez May 22, 2018
dad31b6
Merge pull request #363 from coopdevs/fix/database-configuration
enricostano May 22, 2018
f9f0472
Remove password_digest from users table (fixes #365)
markets May 25, 2018
b31466a
Merge pull request #366 from coopdevs/remove_password_digest
enricostano May 28, 2018
39ff9d5
Remove unused class
enricostano May 25, 2018
65a83a7
Add PushNotification model
enricostano May 25, 2018
b53e8fc
fix statistics_inactive_users table html
markets May 28, 2018
add6a06
Add CreatePushNotifications job
enricostano May 25, 2018
ab9d641
Add fabricators for DeviceToken and Event
enricostano May 25, 2018
e298a3c
Add PushNotification creation logic
enricostano May 25, 2018
44211da
Enqueue PushNotification background job on Post persistence
enricostano May 25, 2018
6f210fc
Run background jobs inline in test environment
enricostano May 28, 2018
7747798
Better background job expectation
enricostano May 28, 2018
a2d4b8c
Remove unique index on events
enricostano May 29, 2018
ec0f47d
Merge pull request #367 from coopdevs/feature/create-push-notificatio…
enricostano May 29, 2018
c966e36
Add Sidekiq web UI
enricostano May 29, 2018
a430b32
Merge pull request #372 from coopdevs/feature/sidekiq-web
enricostano May 30, 2018
9dccc2f
Add sidekiq-cron
enricostano May 31, 2018
bab3cb1
Merge pull request #374 from coopdevs/feature/scheduled-jobs
enricostano Jun 1, 2018
27008df
Improved the look on small devices
mllocs Jun 3, 2018
aab3ddd
Add Skylight's performance data badge
sauloperez Jun 4, 2018
4d2958b
Merge pull request #376 from coopdevs/add-skylight-badge
sauloperez Jun 4, 2018
e85bdb4
Merge pull request #370 from coopdevs/fix_statistics_view
enricostano Jun 7, 2018
b12a25c
Override navbar divider color
mllocs Jun 7, 2018
00d6a20
Defined and used $palette-black color
mllocs Jun 7, 2018
60ad0ac
Improved actions-menu styles
mllocs Jun 7, 2018
3ebad3d
Merge pull request #375 from coopdevs/feature/nicer-mobile-views
sauloperez Jun 12, 2018
c7c5af5
Moved the language selector to the footer
mllocs Jun 12, 2018
366dbeb
Improved user menu on mobile
mllocs Jun 12, 2018
c9d670a
Fixed indentation in navbar file
mllocs Jun 12, 2018
6834c1c
Merge pull request #378 from coopdevs/feature/move-language-selector-…
enricostano Jun 13, 2018
bb38d06
Reordered footer styles
mllocs Jun 13, 2018
6ef130e
Readjusted footer and content margins
mllocs Jun 13, 2018
45d95dd
Improved footer responsiveness
mllocs Jun 13, 2018
266ab16
Removed empty lines
mllocs Jun 13, 2018
67166aa
Updated devise
mllocs Jun 13, 2018
6c73f86
Added authentication check in posts controller
mllocs Jun 13, 2018
d03726c
Added timeoutable devise option in User to replace the hard session e…
mllocs Jun 13, 2018
4a318ec
Remember users for 4 weeks if they check the option
mllocs Jun 13, 2018
e45034c
Merge branch 'develop' into search_member_uid
markets Jun 13, 2018
25791a7
Merge pull request #379 from coopdevs/feature/improved-user-menu-on-m…
enricostano Jun 14, 2018
e7990fb
Removed authentication before filter from posts controller
mllocs Jun 19, 2018
42e6094
Added migration to add a push_notifications columns to the users table
mllocs May 13, 2018
6bed3f2
Added push notifications option in user profile
mllocs May 13, 2018
879bbf0
Merge pull request #356 from coopdevs/feature/adds-user-push-notifica…
enricostano Jun 20, 2018
74ea2f5
Doc++
enricostano Jun 20, 2018
8614f55
Merge pull request #380 from coopdevs/fix/remember-me
enricostano Jun 21, 2018
54f0ead
Add set_current action to load resource before filter whitelist
enricostano Jun 20, 2018
b0c872e
Helpers cleanup:
markets May 14, 2018
84505ec
admin: user form: ensure orgs order by ID asc in membership selector
markets May 19, 2018
dd2170f
RSpec.describe => describe for consistency across the suite; minor sp…
markets May 21, 2018
898d6fe
Partially revert https://github.com/coopdevs/timeoverflow/commit/727a…
markets Jun 10, 2018
761c7ff
move alert_class to ApplicationHelper (+ minor refactor); use valid c…
markets Jun 21, 2018
77ea82a
Fix high severity vulnerability in Sprockets
sauloperez Jun 22, 2018
ce05059
Optimised first pages on mobile
mllocs Jun 23, 2018
516bd35
Merge pull request #382 from coopdevs/fix/set-current-org
enricostano Jul 3, 2018
0d3ece3
New translations
sseerrggii Jul 4, 2018
d332cd6
Añado las que estaban hechas a manija en los yml de develop
sseerrggii Jul 4, 2018
855725c
Improved members table to be responsive in small screens
mllocs Jul 4, 2018
8924225
Added missing semicolon
mllocs Jul 4, 2018
2833dcb
Fixed new home mobile image size
mllocs Jul 4, 2018
6716053
Fixed spec
mllocs Jul 4, 2018
60718d5
Merge pull request #386 from coopdevs/fix-sprockets-vulnerability
enricostano Jul 5, 2018
617c724
Merge pull request #388 from coopdevs/fix/first-pages-on-mobile
enricostano Jul 5, 2018
3071583
Hide admin actions on mobile
mllocs Jul 12, 2018
f2c18b3
add logo ajuntament BCN and Mobile app info, also fix locale key name…
sseerrggii Jul 19, 2018
d181fce
replace <%== by <%=
sseerrggii Jul 26, 2018
9a00ab9
Merge pull request #393 from coopdevs/feature/add-bcn-logo-about
enricostano Aug 8, 2018
63a80f0
Merge pull request #390 from coopdevs/fix/members-page-on-mobile
enricostano Aug 8, 2018
8874797
Merge pull request #389 from coopdevs/translations/20180704
enricostano Aug 8, 2018
8345199
Merge branch 'develop' into search_member_uid
enricostano Aug 8, 2018
394c0f6
Merge pull request #354 from coopdevs/search_member_uid
enricostano Aug 8, 2018
1b8e97c
Merge branch 'develop' into admin_orgs_order
enricostano Aug 8, 2018
52f889d
Merge pull request #361 from coopdevs/admin_orgs_order
enricostano Aug 8, 2018
7f7e5a5
Translations for #393
sseerrggii Aug 9, 2018
1af054d
Merge pull request #397 from coopdevs/translations/20180809
enricostano Aug 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# database setup:
DATABASE_ADAPTER=postgres
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_HOST=localhost

# host part of the url for mail links:
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: ruby
sudo: false
cache: bundler
bundler_args: '--without production development'
rvm:
Expand All @@ -11,3 +10,5 @@ before_script:
- sleep 10
services:
- elasticsearch
addons:
chrome: stable
15 changes: 10 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ gem 'prawn-table', '~> 0.2.2'
gem 'elasticsearch-model'
gem 'elasticsearch-rails'
gem 'skylight'
gem 'sidekiq', '5.1.3'
gem 'sidekiq-cron', '0.6.3'
# TODO: remove this once the following issue has been addressed
# https://github.com/ondrejbartas/sidekiq-cron/issues/199
gem 'rufus-scheduler', '~> 3.4.2'

# Assets
gem 'jquery-rails', '>= 4.2.0'
Expand All @@ -49,17 +54,17 @@ end

group :development, :test do
gem "rspec-rails", '~> 3.7.2'
gem "capybara", '~> 2.4.4'
gem "byebug"
end

group :test do
# Do not upgrade until
# https://github.com/DatabaseCleaner/database_cleaner/issues/317 is fixed
gem "database_cleaner", '1.3.0'
gem 'shoulda', ">= 3.5"
gem "database_cleaner", '1.6.2'
gem 'shoulda-matchers', '~> 3.1.2'
gem 'fabrication'
gem 'faker'
gem 'capybara', '~> 2.7'
gem 'capybara-selenium', '~> 0.0.6'
gem 'chromedriver-helper', '~> 1.0'
end

group :production do
Expand Down
93 changes: 65 additions & 28 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ GEM
sshkit (>= 1.6.1, != 1.7.0)
arbre (1.1.1)
activesupport (>= 3.0.0)
archive-zip (0.11.0)
io-like (~> 0.3.0)
arel (6.0.4)
ast (2.4.0)
autoprefixer-rails (6.3.1)
execjs
json
bcrypt (3.1.11)
bcrypt (3.1.12)
better_errors (2.4.0)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
Expand All @@ -84,12 +86,21 @@ GEM
capistrano-rbenv (2.1.3)
capistrano (~> 3.1)
sshkit (~> 1.3)
capybara (2.4.4)
mime-types (>= 1.16)
capybara (2.18.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
xpath (>= 2.0, < 4.0)
capybara-selenium (0.0.6)
capybara
selenium-webdriver
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
chromedriver-helper (1.2.0)
archive-zip (~> 0.10)
nokogiri (~> 1.8)
chronic (0.10.2)
coderay (1.1.2)
coffee-rails (4.1.0)
Expand All @@ -101,14 +112,15 @@ GEM
coffee-script-source (1.8.0)
columnize (0.9.0)
concurrent-ruby (1.0.5)
crass (1.0.3)
connection_pool (2.2.1)
crass (1.0.4)
dalli (2.7.2)
database_cleaner (1.3.0)
database_cleaner (1.6.2)
debug_inspector (0.0.3)
devise (4.4.1)
devise (4.4.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.2)
railties (>= 4.1.0, < 6.0)
responders
warden (~> 1.2.3)
diff-lcs (1.3)
Expand All @@ -132,12 +144,15 @@ GEM
multi_json
erubi (1.7.1)
erubis (2.7.0)
et-orbi (1.1.2)
tzinfo
execjs (2.6.0)
fabrication (2.11.3)
faker (1.4.3)
i18n (~> 0.5)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
ffi (1.9.23)
formtastic (3.1.5)
actionpack (>= 3.2.13)
formtastic_i18n (0.6.0)
Expand All @@ -160,6 +175,7 @@ GEM
has_scope (~> 0.6)
railties (>= 4.2, <= 5.2)
responders
io-like (0.3.0)
jquery-rails (4.3.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
Expand Down Expand Up @@ -225,7 +241,9 @@ GEM
public_suffix (2.0.5)
pundit (0.3.0)
activesupport (>= 3.0.0)
rack (1.6.9)
rack (1.6.10)
rack-protection (2.0.1)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.10)
Expand Down Expand Up @@ -262,16 +280,18 @@ GEM
thor (>= 0.18.1, < 2.0)
rainbow (3.0.0)
raindrops (0.16.0)
rake (12.3.0)
rake (12.3.1)
ransack (1.8.6)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.3.2)
rdiscount (2.1.7.1)
responders (2.0.2)
railties (>= 4.2.0.alpha, < 5)
redis (4.0.1)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rest-client (2.0.1)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
Expand Down Expand Up @@ -303,6 +323,9 @@ GEM
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.9.0)
rubyzip (1.2.1)
rufus-scheduler (3.4.2)
et-orbi (~> 1.0)
sass (3.4.21)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
Expand All @@ -312,18 +335,27 @@ GEM
tilt (>= 1.1, < 3)
select2-rails (4.0.1)
thor (~> 0.14)
shoulda (3.5.0)
shoulda-context (~> 1.0, >= 1.0.1)
shoulda-matchers (>= 1.4.1, < 3.0)
shoulda-context (1.2.1)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
selenium-webdriver (3.11.0)
childprocess (~> 0.5)
rubyzip (~> 1.2)
shoulda-matchers (3.1.2)
activesupport (>= 4.0.0)
sidekiq (5.1.3)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
rack-protection (>= 1.5.0)
redis (>= 3.3.5, < 5)
sidekiq-cron (0.6.3)
rufus-scheduler (>= 3.3.0)
sidekiq (>= 4.2.1)
simple_form (3.1.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
skylight (1.5.0)
activesupport (>= 3.0.0)
sprockets (3.7.1)
skylight (2.0.1)
skylight-core (= 2.0.1)
skylight-core (2.0.1)
activesupport (>= 4.2.0)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
Expand All @@ -333,7 +365,7 @@ GEM
sshkit (1.8.1)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
thor (0.19.4)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
ttfunk (1.5.1)
Expand All @@ -359,8 +391,8 @@ GEM
sprockets-rails (>= 2.0, < 4.0)
whenever (0.9.4)
chronic (>= 0.6.3)
xpath (2.0.0)
nokogiri (~> 1.3)
xpath (3.0.0)
nokogiri (~> 1.8)

PLATFORMS
ruby
Expand All @@ -375,10 +407,12 @@ DEPENDENCIES
capistrano (~> 3.1)
capistrano-rails (~> 1.1)
capistrano-rbenv (~> 2.1)
capybara (~> 2.4.4)
capybara (~> 2.7)
capybara-selenium (~> 0.0.6)
chromedriver-helper (~> 1.0)
coffee-rails
dalli
database_cleaner (= 1.3.0)
database_cleaner (= 1.6.2)
devise (~> 4.4.1)
dotenv-rails (= 1.0.2)
elasticsearch-model
Expand All @@ -404,9 +438,12 @@ DEPENDENCIES
rollbar (= 2.8.3)
rspec-rails (~> 3.7.2)
rubocop (~> 0.52.1)
rufus-scheduler (~> 3.4.2)
sass-rails (~> 5.0.7)
select2-rails
shoulda (>= 3.5)
shoulda-matchers (~> 3.1.2)
sidekiq (= 5.1.3)
sidekiq-cron (= 0.6.3)
simple_form (>= 3.0.0)
skylight
uglifier (= 2.7.2)
Expand All @@ -418,4 +455,4 @@ RUBY VERSION
ruby 2.3.0p0

BUNDLED WITH
1.16.1
1.16.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TimeOverflow [![Build Status](https://travis-ci.org/coopdevs/timeoverflow.svg)](https://travis-ci.org/coopdevs/timeoverflow) [![Code Climate](https://codeclimate.com/github/timeoverflow/timeoverflow/badges/gpa.svg)](https://codeclimate.com/github/timeoverflow/timeoverflow)
# TimeOverflow [![View performance data on Skylight](https://badges.skylight.io/problem/grDTNuzZRnyu.svg)](https://oss.skylight.io/app/applications/grDTNuzZRnyu) [![Build Status](https://travis-ci.org/coopdevs/timeoverflow.svg)](https://travis-ci.org/coopdevs/timeoverflow) [![Code Climate](https://codeclimate.com/github/timeoverflow/timeoverflow/badges/gpa.svg)](https://codeclimate.com/github/timeoverflow/timeoverflow)
#### www.timeoverflow.org

:globe_with_meridians: Read this [in English](docs/README.en.md)
Expand Down
2 changes: 1 addition & 1 deletion app/admin/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
end
f.inputs "Members" do
f.has_many :members do |m|
m.input :organization
m.input :organization, collection: Organization.order(id: :asc).pluck(:name, :id)
m.input :manager
end
end
Expand Down
Binary file added app/assets/images/ajuntament_bcn_activa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/assets/images/home_back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/home_back_mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/home_back_overlay.jpg
Binary file not shown.
1 change: 1 addition & 0 deletions app/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#= require datepicker
#= require give_time
#= require tags
#= require mobile_app_libs

$(document).on 'click', 'a[data-popup]', (event) ->
window.open($(this).attr('href'), 'popup', 'width=600,height=600')
Expand Down
5 changes: 5 additions & 0 deletions app/assets/javascripts/mobile_app_libs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Used by the mobile app to register the device token
// https://github.com/coopdevs/timeoverflow-mobile-app
window.TimeOverflowRegisterExpoDeviceToken = function (token) {
$.post('/device_tokens', { token: token });
}
60 changes: 60 additions & 0 deletions app/assets/stylesheets/_bootstrap-custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*
* This file lists all the available Bootstrap modules, uncomment
* the modules you want to import
*/

// Core variables and mixins
@import "bootstrap-overrides";
@import "bootstrap/variables";
@import "bootstrap/mixins";

// Reset and dependencies
@import "bootstrap/normalize";
@import "bootstrap/print";
@import "bootstrap/glyphicons";

// Core CSS
@import "bootstrap/scaffolding";
@import "bootstrap/type";
@import "bootstrap/code";
@import "bootstrap/grid";
@import "bootstrap/tables";
@import "bootstrap/forms";
@import "bootstrap/buttons";

// Components
@import "bootstrap/component-animations";
@import "bootstrap/dropdowns";
@import "bootstrap/button-groups";
@import "bootstrap/input-groups";
@import "bootstrap/navs";
@import "bootstrap/navbar";
// @import "bootstrap/breadcrumbs";
@import "bootstrap/pagination";
@import "bootstrap/pager";
@import "bootstrap/labels";
@import "bootstrap/badges";
// @import "bootstrap/jumbotron";
// @import "bootstrap/thumbnails";
@import "bootstrap/alerts";
// @import "bootstrap/progress-bars";
@import "bootstrap/media";
@import "bootstrap/list-group";
@import "bootstrap/panels";
@import "bootstrap/responsive-embed";
// @import "bootstrap/wells";
@import "bootstrap/close";

// Components w/ JavaScript
@import "bootstrap/modals";
@import "bootstrap/tooltip";
// @import "bootstrap/popovers";
// @import "bootstrap/carousel";

// Utility classes
@import "bootstrap/utilities";
@import "bootstrap/responsive-utilities";
13 changes: 13 additions & 0 deletions app/assets/stylesheets/_bootstrap-overrides.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$brand-primary: $palette-turkey;

$navbar-inverse-brand-hover-color: $palette-light-blue;
$navbar-inverse-brand-color: $white;

$navbar-inverse-link-color: $white;
$navbar-inverse-link-active-color: $palette-light-blue;
$navbar-inverse-link-active-bg: $palette-turkey;
$navbar-inverse-link-hover-color: $palette-light-blue;
$navbar-inverse-toggle-border-color: $white;
$navbar-inverse-toggle-hover-bg: $palette-dark-turkey;

$navbar-inverse-bg: $palette-turkey;
Loading