Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1345 commits
Select commit Hold shift + click to select a range
1b42afe
Fix transcript query in search page
Jul 16, 2020
44cdc52
Fix filters in Institution page
Jul 16, 2020
42fbebb
Apply multiple selector to Theme and Collection
Jul 16, 2020
4ea3987
Fix multiple selection queries
Jul 16, 2020
d75f4c1
Fix list of Institutions
Jul 16, 2020
2978a45
Fix scroll, multiple select behaviour
Jul 16, 2020
b2d6d80
Fix tests
Jul 16, 2020
573c3f9
Fix multiple select width
Jul 17, 2020
7a5ce3a
Style multiple select options
Jul 17, 2020
087fae7
Merge branch 'develop'
Jul 20, 2020
2c1e481
Change collection consensus number form label
Jul 20, 2020
be0ba5f
Merge branch 'develop'
Jul 20, 2020
77ea09d
Install Select2-rails gem
Aug 3, 2020
91ee116
Improve UI
Aug 3, 2020
526dc55
Merge pull request #109 from reinteractive/feature/improve-transcript…
Aug 3, 2020
2bb34a5
Limit select2 dropdown height
Aug 3, 2020
d7d5460
Display the amount of selected Themes and Collections
Aug 5, 2020
92804ad
Change submit button
Aug 5, 2020
f69a3ee
Make every select input font bold
Aug 5, 2020
c15a29a
Fix cms multiple select styling
Aug 5, 2020
027967f
Change from multiple select to checkboxes
Aug 5, 2020
2b27079
Improve Collection Filter appearance
Aug 5, 2020
4b16c7f
Improve UX
Aug 5, 2020
185ce3a
Merge pull request #110 from reinteractive/feature/improve-transcript…
Aug 5, 2020
b2d6b26
Improve checkbox
Aug 5, 2020
ed34e75
Change Apply filters text
Aug 6, 2020
fcf15e5
Merge pull request #111 from reinteractive/fix/transcript-filter
Aug 6, 2020
89e905a
Merge branch 'develop'
Aug 7, 2020
19d482b
Add Institution slug to Transcript url
Aug 18, 2020
5d75e29
Merge pull request #112 from reinteractive/feature/transcripts-url
Aug 18, 2020
5c8974c
Add Collection uid to Transcript url
Aug 18, 2020
64a7036
Merge pull request #113 from reinteractive/feature/transcripts-url
Aug 18, 2020
8e1d748
Fix collections page (#114)
Aug 20, 2020
94388ec
Fix collections page (#115)
Aug 20, 2020
2980b9f
Merge branch 'develop'
Aug 24, 2020
8a40406
[AM-142] Initial work around making files cachebustable
rtrvrtg Aug 27, 2020
448b0ab
Merge branch 'develop' into feature/am-142-cachebusting-gulp
rtrvrtg Aug 27, 2020
1cac748
[AM-142] Better file generation
rtrvrtg Aug 27, 2020
ee1c7a6
Added router update from reinteractive
rtrvrtg Aug 27, 2020
b1439fb
Merge branch 'develop' into feature/am-142-cachebusting-gulp
rtrvrtg Aug 27, 2020
78e60ab
[AM-142] Rebuilt with fixes
rtrvrtg Aug 27, 2020
7ea0373
[AM-142] Load gulp assets from dynamic paths
rtrvrtg Aug 27, 2020
77bcdf7
[AM-142] Figured out decent process for rebuilding SASS and JS files,…
rtrvrtg Aug 27, 2020
eb9b1db
[AM-142] Exclude Gulp assets from gitignore
rtrvrtg Aug 27, 2020
468d584
[AM-142] Use minified default app script where available
rtrvrtg Aug 27, 2020
78d7e7b
[AM-142] Fixed typos, added README
rtrvrtg Aug 27, 2020
1aa9144
Merge pull request #73 from slnsw/feature/am-142-cachebusting-gulp
rtrvrtg Aug 28, 2020
e52a795
[AM-143] Porting CSS from Gulp to Rails
rtrvrtg Sep 8, 2020
5cec46e
Updated README with Node version info
rtrvrtg Sep 8, 2020
9630bd9
Updated README with Node version info 2
rtrvrtg Sep 8, 2020
5b1915c
Allow collection to be filtered by url
Sep 8, 2020
0811f49
Merge pull request #116 from reinteractive/fix/url-collection-filter
Sep 8, 2020
0fac800
Allow collection to be filtered by url
Sep 8, 2020
11d166e
Merge branch 'develop' of github.com:slnsw/amplify into develop
Sep 8, 2020
aef33dc
Merge branch 'develop'
Sep 8, 2020
b16aafa
Merge branch 'develop' into feature/am-143-rails-css
rtrvrtg Sep 9, 2020
d8d5319
[AM-143] Gulpfile now Gulp v4 compatible
rtrvrtg Sep 9, 2020
2dee6a4
Merge pull request #74 from slnsw/feature/am-143-rails-css
helloyounglionsxo Sep 9, 2020
c4f6198
Adjust admin layout
Sep 10, 2020
0a712b2
Add padding to the body
Sep 10, 2020
182e101
Fix hover side menu color
Sep 10, 2020
5ca1684
Fix menu select in the top right
Sep 10, 2020
b65029d
Merge pull request #117 from reinteractive/fix/admin-style
Sep 10, 2020
54501a5
Remove changes from header outside admin
Sep 10, 2020
951b271
Merge pull request #118 from reinteractive/fix/admin-style
Sep 10, 2020
9728b63
Merge branch 'develop'
Sep 14, 2020
04801d0
chore: fix npm vulnerabilities
tian-im Sep 18, 2020
5086eb9
feat: add speech-to-text.js
tian-im Sep 23, 2020
bd6f3cd
chore: add foreman for local development
tian-im Sep 28, 2020
d85ba6a
chore: change to convert the time from unit 100 nanoseconds to millis…
tian-im Sep 28, 2020
7cf9299
feat: speech-to-text service and job
tian-im Sep 28, 2020
182fb1b
chore: update database config example to use different db names for d…
tian-im Sep 28, 2020
c279605
chore: add specs
tian-im Sep 29, 2020
e530925
Merge pull request #119 from reinteractive/feature/microsoft-cognitiv…
Sep 29, 2020
9c3674a
chore: need to make changes for npm related deploy process
tian-im Sep 29, 2020
6bd4917
Merge pull request #120 from reinteractive/chore/npm-related-deploy
Sep 29, 2020
1ea73b8
chore: add npm install deploy step and use carrierwave cached file in…
tian-im Sep 29, 2020
1da6bae
Merge pull request #121 from reinteractive/chore/update-deploy-and-us…
Sep 29, 2020
11e2037
Auto submit form when changing Institution
Sep 30, 2020
24cc52b
Merge pull request #122 from reinteractive/fix/auto-filter-institution
Sep 30, 2020
7083b53
Auto submit form when changing Institution
Sep 30, 2020
8c9ebd8
fix: allow speech-to-text to output complet JSON
tian-im Oct 1, 2020
2a268fd
fix: to consolidate voicebase and azure together
tian-im Oct 1, 2020
bd64fd3
chore: revert transcript after_save change
tian-im Oct 1, 2020
ef3736b
Merge pull request #123 from reinteractive/chore/fix-speech-to-text-s…
Oct 1, 2020
740d456
chore: default checked azure option
tian-im Oct 1, 2020
07eef71
Merge pull request #124 from reinteractive/chore/mark-azure-checked
Oct 1, 2020
f3ca1d9
chore: revert to 16KHz
tian-im Oct 1, 2020
020e120
Merge pull request #125 from reinteractive/chore/revert-to-16khz
Oct 1, 2020
84a3b3a
chore: move the processing file to tmp folder
tian-im Oct 2, 2020
f04c74c
Merge pull request #126 from reinteractive/chore/move-cache-and-proce…
Oct 2, 2020
cd581cf
chore: fix duration and lines for speech-to-text job
tian-im Oct 2, 2020
fc7d810
Merge pull request #127 from reinteractive/chore/fix-duration-and-lines
Oct 2, 2020
d2d38f0
chore: upgrade rack to 2.2.3
tian-im Oct 6, 2020
23bd43d
Merge pull request #128 from reinteractive/chore/upgrade-rack
Oct 6, 2020
353095d
chore: remove voicebase from controller and cron job to stop it from …
tian-im Oct 6, 2020
23f3e20
Merge pull request #129 from reinteractive/chore/stop-voicebase-from-…
Oct 6, 2020
5f31f78
chore: update deploy.rb to set RAILS_ENV
tian-im Oct 6, 2020
468411c
Merge pull request #130 from reinteractive/chore/update-deploy.rb
glenndavy Oct 6, 2020
0150cab
chore: wrap the rake commands with rails_env
tian-im Oct 6, 2020
c2be5ec
Merge pull request #131 from reinteractive/chore/wrap-with-rails-env
Oct 6, 2020
63bb222
Merge pull request #132 from reinteractive/develop
Oct 7, 2020
a858249
chore: update readme for the latest azure changes
tian-im Oct 7, 2020
5a0393d
Merge pull request #133 from reinteractive/chore/update-readme
Oct 7, 2020
d197902
Show filter query in url
Aug 18, 2020
785e545
Merge branch 'master' into develop
Oct 7, 2020
0409a7b
Merge branch 'develop' into feature/filter-url
Oct 7, 2020
34d2a44
Split homepage and search page forms
Oct 14, 2020
ea3abfe
Change homepage form to get method without javascript
Oct 14, 2020
d3ed2b1
Install turbolinks
Oct 14, 2020
e42bd55
Assure options are properly checked
Oct 14, 2020
b9609a8
Display nice params in URL
Oct 14, 2020
e76f778
Apply new logic to Institution Page
Oct 15, 2020
42eb774
Fix search page
Oct 15, 2020
cae7a75
Create new partials for search controller
Oct 15, 2020
7d5a586
Fix search page filters
Oct 15, 2020
d500daa
Fix search page filters
Oct 15, 2020
0f20f36
Change time DailyAnalyticsJob runs
Nov 10, 2020
7a55349
Merge pull request #134 from reinteractive/feature/daily-analytics-jo…
Nov 10, 2020
25e0193
Merge branch 'develop'
Nov 10, 2020
91ee5cc
Merge branch 'develop' into feature/filter-url
Nov 11, 2020
c60bf36
Small change to sidekiq cron task
Nov 11, 2020
20fcc0c
Merge pull request #135 from reinteractive/feature/filter-url
Nov 11, 2020
4769820
Fix Collection and Theme buttons in search screen
Nov 13, 2020
6edc88c
Turbolinks carries previous view js over.
Nov 13, 2020
0e46b63
Remove all traces of Turbolinks from app
Nov 13, 2020
c1f64e9
Merge pull request #137 from reinteractive/feature/remove-turbolinks
Nov 13, 2020
2394e75
Merge branch 'develop'
Nov 13, 2020
e4e55ed
Add var to CollectionsController
Nov 16, 2020
43b0f2e
Merge pull request #138 from reinteractive/fix/collections-page
Nov 16, 2020
5b0db97
Merge branch 'develop'
Nov 16, 2020
deff36e
Fix collections page menu
Nov 16, 2020
b28ff08
Merge pull request #139 from reinteractive/fix/collections-menu
Nov 16, 2020
0ef4045
Fix tests
Nov 16, 2020
6f36f56
Change URL when using Search Page filters
Nov 16, 2020
d24d0a5
Merge pull request #140 from reinteractive/feature/filter-url
Nov 16, 2020
5d75c33
Merge branch 'develop'
Nov 16, 2020
4dadb89
Return missing statuses on homepage
Nov 25, 2020
2f2507a
Merge branch 'develop'
Nov 25, 2020
f1ad3f5
Display flags to staff members, fix admin dashboard flag timestamps.
Dec 7, 2020
ebf80d9
Merge pull request #141 from reinteractive/fix/flags
Dec 7, 2020
ccf2fae
Revert user flag query
Dec 7, 2020
3ee6b8e
Merge pull request #142 from reinteractive/fix/flags
Dec 7, 2020
bee3c07
Only scroll down if used search
Dec 7, 2020
6d19a94
Merge branch 'develop'
Dec 7, 2020
2b420f0
Assure Transcript's speakers are saved upon creation
Dec 7, 2020
53246ad
Merge pull request #143 from reinteractive/fix/transcript-speaker
Dec 7, 2020
470e63e
Merge branch 'develop'
Dec 7, 2020
0052d53
Allow a trascript line to line-break on smaller screens
Dec 9, 2020
26b8b26
Merge pull request #144 from reinteractive/feature/improve-transcript…
Dec 9, 2020
2784343
Revert "Allow a trascript line to line-break on smaller screens"
Dec 9, 2020
71d4ef4
Allow a transcript line to line-break on smaller screens
Dec 9, 2020
223be81
Merge pull request #145 from reinteractive/feature/improve-transcript…
Dec 9, 2020
5be0f43
Add gulp generated js file
Dec 9, 2020
b710b41
Change js to use span instead of input
Dec 9, 2020
3bf780e
Use original bigger font-sizse
Dec 14, 2020
07e19e0
Remove outline box around editable text
Dec 15, 2020
78beba9
Merge branch 'develop'
Dec 15, 2020
3f47ad9
[AM-146] Lazyloading images for homepage
rtrvrtg Dec 29, 2020
d9aa88b
Only display institutions with collections in home menu
Jan 11, 2021
6b62f12
Hide vendor value from Collections form
Jan 11, 2021
ea14f32
Highlight searched term
Jan 11, 2021
72dd48c
Merge pull request #76 from slnsw/feature/am-146-hp-lazyload
helloyounglionsxo Jan 11, 2021
bb4496b
[AM-146] Added empty alt attribute to thumbnails
rtrvrtg Jan 11, 2021
f0c78ab
Merge branch 'develop'
Jan 12, 2021
fa57559
[AM-146] IE compat for object-fit
rtrvrtg Jan 12, 2021
fc103d1
Merge branch 'develop'
rtrvrtg Jan 12, 2021
eaab67a
Return to transcripts page after sign in
Jan 22, 2021
1b00926
Merge pull request #146 from reinteractive/feature/return-to-path-tra…
Jan 22, 2021
6551eef
Always remember users when logging in
Jan 22, 2021
0283396
Merge pull request #147 from reinteractive/feature/remember-users
Jan 22, 2021
a659dbe
Redirect after logging in from google and facebook?
Jan 22, 2021
57d8c51
Merge pull request #148 from reinteractive/feature/redirect-google-login
Jan 22, 2021
d50f04e
Move remember_me to form as a hidden field
Jan 25, 2021
8c835e1
Save remember_me for google and Facebook auth
Jan 25, 2021
f6394de
Remember url after google and Facebook login
Feb 19, 2021
456751c
Merge pull request #149 from reinteractive/feature/google-facebook-re…
Feb 19, 2021
ea498fa
Remember users logged via Google and Facebook
Feb 19, 2021
afce020
Add link to institution logo
Feb 19, 2021
79380cc
Merge pull request #150 from reinteractive/feature/institution-logo-link
Feb 19, 2021
bb347b5
Merge branch 'develop'
Feb 25, 2021
861a220
Fix italic tag
Mar 3, 2021
ffad521
Merge pull request #151 from reinteractive/fix/italic-tag
Mar 3, 2021
ef1998a
Merge branch 'develop'
Mar 3, 2021
c9523b8
Add red bar at the top warning staging environment
estevaom Mar 8, 2021
fb9f359
Merge pull request #152 from reinteractive/feature/staging-banner
Mar 8, 2021
170f331
Add warning to admin pages
estevaom Mar 8, 2021
2a589b4
Merge pull request #153 from reinteractive/feature/staging-banner
Mar 8, 2021
1def50f
Merge branch 'develop'
estevaom Mar 9, 2021
09e1276
set default css values
israelcoper Mar 19, 2021
32af29b
Merge pull request #154 from reinteractive/bug-summernote-tags-not-wo…
israelcoper Mar 22, 2021
72b5bef
collapsible feature added to user dashboard
israelcoper Mar 25, 2021
ce97716
use edit_min_display helper for consistency
israelcoper Mar 25, 2021
a9b1549
Merge pull request #155 from reinteractive/feature-activity-list-expa…
israelcoper Mar 26, 2021
90bd62a
item image caption from textbox to html editor
israelcoper Mar 26, 2021
513a77b
Merge pull request #156 from reinteractive/collection-and-item-html-e…
israelcoper Mar 26, 2021
3d32165
Merge branch 'develop' - collapsible, html editor and display
israelcoper Mar 30, 2021
6c6ec1d
convert admin users collapse into tabs
israelcoper Mar 30, 2021
e21eeb2
Merge pull request #157 from reinteractive/feature-admin-user-tabs
israelcoper Mar 31, 2021
a888746
changes on admin users tab font
israelcoper Apr 6, 2021
21c4f54
Merge pull request #158 from reinteractive/admin-users-tab-font
israelcoper Apr 6, 2021
a85da0f
Merge branch 'develop' - changes on admin users tab
israelcoper Apr 12, 2021
27c459d
Feature/branch deploy (#77)
rodrigoassis Jun 14, 2021
abbd7b3
adding basic spec to guarantee not logged users dont break (#165)
rodrigoassis Jun 16, 2021
7831d39
keeping wav file after azure convert (#167)
rodrigoassis Jun 22, 2021
b2e4de4
Feature/keep wav file (#78)
rodrigoassis Jun 22, 2021
2834df5
Merge branch 'develop'
rodrigoassis Jun 22, 2021
248989c
renaming long file name to avoid transcript error (#168)
rodrigoassis Aug 16, 2021
ba05378
updating rails and few other gems (#169)
rodrigoassis Aug 16, 2021
36cd471
adding sidekiq cron job to recalculate transcripts analytics data (#170)
rodrigoassis Aug 16, 2021
50e829c
Merge branch 'develop'
rodrigoassis Aug 16, 2021
e141715
analytics calculation now considers lines and not only completed tran…
rodrigoassis Sep 28, 2021
4c2cef3
adding default collection image to transcript thumb (#172)
rodrigoassis Sep 29, 2021
9bf7730
Merge branch 'develop'
rodrigoassis Sep 29, 2021
edb3e5a
fixing display time helper method (#174)
rodrigoassis Oct 11, 2021
346cce6
admin transcript edits have priority (#175)
rodrigoassis Nov 10, 2021
ffe8faf
Merge branch 'develop'
rodrigoassis Nov 10, 2021
ba54a96
adding analytics date filter from query string (#176)
rodrigoassis Dec 3, 2021
6245c85
creating .travis.yml (#178)
rodrigoassis Jan 27, 2022
1830c19
fixing nokogiri install in travis (#179)
rodrigoassis Feb 2, 2022
a45e825
reverting bundler params and cache (#180)
rodrigoassis Feb 2, 2022
da152ba
[AM-154] ADMIN CMS: Adjust modal positioning
rtrvrtg Dec 7, 2022
826f962
Merge pull request #81 from slnsw/feature/am-154-cms-modal
gquach Dec 7, 2022
48265c1
Merge branch 'release-v3.20.0'
rtrvrtg Dec 8, 2022
9ce5918
[AM-161] Set up basic SiteAlert model
rtrvrtg Jan 16, 2023
58b14d9
[AM-161] Admin UI for site alerts
rtrvrtg Jan 16, 2023
9d791ee
[AM-161] Basic styling for alerts
rtrvrtg Jan 16, 2023
f298bb0
[AM-161] Style site alerts
rtrvrtg Jan 17, 2023
5cd729e
[AM-161] Comment out extra publishing workflow fields for now
rtrvrtg Jan 17, 2023
331eed1
[AM-161] Black cross image for close button, commented out unused adm…
rtrvrtg Jan 17, 2023
15ba202
Merge pull request #82 from slnsw/feature/am-161-site-alerts
gquach Jan 17, 2023
74b50e3
introduc fuzzy search
neumerance Mar 23, 2023
c376439
update ruby version and its gems
neumerance Mar 28, 2023
34383d4
update necessary files from rails 5 to rails 7
neumerance Mar 28, 2023
7dd8b34
fixing failing tests
neumerance Mar 29, 2023
ed11afd
fixing failing tests
neumerance Mar 29, 2023
6a94459
Merge pull request #83 from slnsw/feature/fuzzy-search
rtrvrtg Mar 29, 2023
4b93a10
Merge branch 'develop' into chore/ruby-upgrades
rtrvrtg Mar 29, 2023
fe3a6ce
Merge pull request #84 from slnsw/chore/ruby-upgrades
rtrvrtg Mar 29, 2023
96896ac
HOTFIX: Bump Ruby version in scripts and deploy defs
rtrvrtg Mar 30, 2023
6ab150b
HOTFIX: Updated Gemfile
rtrvrtg Mar 30, 2023
3c0b767
HOTFIX: Bump unicorn to 5.6.0
rtrvrtg Mar 31, 2023
32a63e2
Clean up gemfile
rtrvrtg Mar 31, 2023
14e807a
Merge branch 'release-v3.22.0' into develop
rtrvrtg Mar 31, 2023
a59aa7c
HOTFIX: Try puma-daemon
rtrvrtg Apr 1, 2023
1bfe307
upgrading ruby 2.7.x to 3.0.0
neumerance Apr 3, 2023
78d25d7
bugfixing fuzzy search
neumerance Apr 4, 2023
b2fed9c
Merge pull request #85 from slnsw/chore/ruby-3.0.0-upgrades
neumerance May 25, 2023
c0c26e1
Merge pull request #86 from slnsw/bugfix/fuzzy-search
rtrvrtg May 25, 2023
f8cfe8a
Add version ID on page footer
neumerance May 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Used by speech-to-text.js
SPEECH_TO_TEXT_KEY=Ask admin to obtain the subscription key from Azure portal -> Cognitive Services -> Keys and Endpoint
SPEECH_TO_TEXT_REGION=australiaeast
DEFAULT_MAILER_HOST=localhost:3000

AWS_S3_ACCESS_KEY_ID=xxx
AWS_S3_SECRET_ACCESS_KEY=xxx
AWS_S3_REGION=xxx
59 changes: 57 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,85 @@
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

.DS_Store

# Ignore bundler config.
/.bundle
.env

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore database snapshots.
*.pgdump
*.sql
*.psql

# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp
!/tmp/.keep
/tmp/*/*

/public/institutions/*/**
/public/uploads/*
/tmp/cache/*/**
/tmp/*


# Project-specific
/_dev
.project
/.ruby-gemset
/exports/*
!/exports/.keep
.byebug_history
/spec/examples.txt

# Ignore application configuration
/config/application.yml
/config/database.yml
/config/application.*.yml
!/config/application.sample.yml

# Ignore downloaded transcripts
# Ignore downloaded transcripts/audio
/project/*/transcripts/*/*.json
/project/*/audio/*
!/project/*/audio/.keep

# Node
/node_modules

/public/collections/
/public/collections_v2/

/project/nsw-state-library-amplify/assets/img/Landing page/
/public/nsw-state-library-amplify/assets/img/Landing page/

# Ignore all certificates.
/config/certificates/*
!/config/certificates/.keep

# Ignore coverage.
coverage/*

# Ignore uploaded files.
app/files/uploads/*
!app/files/uploads/.keep

# Ignore uploaded files in development
/storage/*

/node_modules
/yarn-error.log

.byebug_history

# Ignore master key for decrypting credentials and more.
/config/master.key

# Allow for scratch space.
/scratch/*
!/scratch/.keep
.vscode
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
3 changes: 3 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--color
--require spec_helper
--require rails_helper
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
inherit_gem:
reinteractive-style:
- default.yml
Rails/UnknownEnv:
Environments:
- production
- development
- test
- staging
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.0
2 changes: 2 additions & 0 deletions .rvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rvm_trust_rvmrcs_flag=1
rvm --create use ruby-2.7.2@global
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
language: ruby
dist: xenial
rvm: '2.7.2'
cache: bundler

bundler_args: --jobs=3 --retry=3

services:
- postgresql

addons:
chrome: stable
postgresql: "9.6"

before_install:
- nvm install 12
- export TZ=Australia/Sydney
- gem update --system
- gem install bundler --version 2.3.6

before_script:
- bin/setup

script:
- RAILS_ENV=test bundle exec rspec
23 changes: 23 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Load DSL and set up stages.
require "capistrano/setup"

# Include default deployment tasks.
require "capistrano/deploy"

# To ensure your project is compatible with future versions of Capistrano
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git

require 'capistrano/npm'
require 'capistrano/bundler'
require 'capistrano/rvm'
require 'capistrano/rails/migrations'
require 'capistrano/sidekiq'

require 'capistrano/puma'
install_plugin Capistrano::Puma

require 'capistrano/seed_migration_tasks'

# Load custom tasks from `lib/capistrano/tasks` if you have any defined.
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
209 changes: 185 additions & 24 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,43 +1,204 @@
source 'https://rubygems.org'
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.5'
ruby "3.0.0"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.0.4", ">= 7.0.4.3"

# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem "sprockets-rails"

# Use sqlite3 as the database for Active Record
gem "sqlite3", "~> 1.4"

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.0"
gem "puma-daemon", require: false

# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem "importmap-rails"

# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
gem "turbo-rails"

# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem "stimulus-rails"

# Build JSON APIs with ease [https://github.com/rails/jbuilder]
gem "jbuilder"

# Use Redis adapter to run Action Cable in production
# gem "redis", "~> 4.0"

# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem "kredis"

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false

# Use Sass to process CSS
# gem "sassc-rails"

# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"

gem "marcel", "~> 1.0.2"

# Use PostgreSQL as the database for Active Record
gem 'pg'
gem 'pg_search'
gem 'will_paginate'
gem "pg", "~> 1.1.4"
gem "pg_search", "~> 2.1.4"
gem "will_paginate", "~> 3.1.6"

# Caching
gem "dalli", "~> 2.7.9"

# Disabling assets; replaced with Gulp
# gem 'sass-rails', '~> 5.0'
# gem 'uglifier', '>= 1.3.0'
# gem 'coffee-rails', '~> 4.1.0'
# gem 'jquery-rails'
gem "autoprefixer-rails", "~> 8.6", ">= 8.6.5"
gem "bootstrap", "~> 4.1.1"
gem "coffee-rails", "~> 4.2"
gem "font-awesome-rails", "~> 4.7.0"
gem "jquery-rails", "~> 4.3.3"
gem "sass-rails", "~> 5.0"
gem "select2-rails", "~> 4.0.13"
gem "summernote-rails", "0.8.10"
gem "uglifier", ">= 1.3.0"

# Back-end App is treated mostly as a JSON API
gem 'jbuilder', '~> 2.0' # Build JSON APIs with ease
gem 'rails-api' # pare down rails to act like an API; disabling unnecessary middleware
# gem 'rails-api' # pare down rails to act like an API; disabling unnecessary middleware
gem "rack-cors", "~> 1.0.2", require: "rack/cors"

# Rails app configuration / ENV management
gem 'figaro'
gem "figaro"

# User management / auth.
# We have to force the version of OAuth because omniauth-google-oauth2 v0.6
# requires jwt v2.0 or better.
# Facebook's gem is a bit behind.
gem "devise", "~> 4.9.0"
# gem 'devise-security'
gem "oauth2", github: "oauth-xx/oauth2", ref: "v2.0.1"
gem "omniauth-facebook", "~> 9.0.0"
gem "omniauth-google-oauth2", "< 1.1.1"

# User management / auth
gem 'devise_token_auth'
gem 'omniauth-google-oauth2'
gem 'omniauth-facebook'
# Beef up security.
gem "invisible_captcha", "~> 0.12.0"
gem "rack-attack", "~> 6.0.0"

# Niceties.
gem "exception_handler", "~> 0.8.0"

# Parsers for project asset precompilation
gem 'redcarpet'
gem 'ejs'
gem 'execjs'
gem "ejs", "~> 1.1.1"
gem "execjs", "~> 2.7.0"
gem "redcarpet", "~> 3.4.0"

# For audio transcripts
gem 'popuparchive'
gem "webvtt-ruby", "~> 0.3.2"

# For uploading of transcipts and image files
# load fog-aws first to reduce the number of imported classes
gem "carrierwave", "~> 1.1"
# require installation of the following
# sudo apt-get install build-essential libcurl4-openssl-dev
# this is to allow fog get installed with ovirt-engine-sdk
gem "fog", "~> 2.1.0"
gem "mini_magick", "~> 4.8"

# Error logging
gem 'rails_12factor'
gem "newrelic_rpm"
gem "rails_12factor", "~> 0.0.3"

# Installation script.
gem "highline", "~> 2.0.1"

# Use unicorn on linux only
platforms :ruby do # linux
gem 'unicorn'
gem "unicorn"
end

group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri mingw x64_mingw ]

gem "byebug", "~> 11.0.0", platforms: [:mri, :mingw, :x64_mingw]
gem "factory_bot_rails", "~> 5.0.2"
gem "faker"
gem "pry", "~> 0.12.2"
gem 'rspec-rails', '~> 6.0.0'
end

group :development do
# Use console on exceptions pages [https://github.com/rails/web-console]
gem "web-console"

# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
# gem "rack-mini-profiler"

# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"

gem "foreman"
gem "listen", ">= 3.0.5", "< 3.2"
gem 'spring'
gem 'spring-commands-rspec'

gem "capistrano", "~> 3.11.0"
gem "capistrano3-puma", "~> 5.2.0"
gem "capistrano-bundler", "~> 1.6.0", require: false
gem "capistrano-npm", "~>1.0.3"
gem "capistrano-rails", "~> 1.4.0", require: false
gem "capistrano-rvm", "~> 0.1.2"
gem "capistrano-sidekiq", "~> 1.0.2"
gem "rubocop", "~> 0.65.0"

gem "bcrypt_pbkdf", "~> 1.1"
gem "ed25519", "~> 1.2"

gem "dotenv-rails", "~> 2.7.1"
gem "letter_opener", "~> 1.7.0"
gem "reinteractive-style", "~> 0.2.8"
end

group :test do
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem "capybara"
gem "selenium-webdriver"
gem "webdrivers"

gem "launchy", "~> 2.4.0"
gem "pundit-matchers", "~> 1.6.0"
gem "rails-controller-testing", "~> 1.0.4"
gem "shoulda-matchers", "~> 3.1", require: false
gem "simplecov", "~> 0.16.1"
end

group :staging, :production do
gem "executable-hooks", "~> 1.6.0"
end

# tracking errors
gem "bugsnag", "~> 6.11.1"
gem "draper", "~> 4.0.2"
gem 'nokogiri', '1.12.5'
gem "sanitize", "~> 5.2.0"

gem "acts_as_singleton", "~> 0.0.8"
gem "acts-as-taggable-on", "~> 9.0.1"
gem "chartkick", "~> 5.0.1"
gem "formdata", "~> 0.1.2"
gem "friendly_id", "~> 5.2.0"
gem "httparty", "~> 0.16.4"
gem "pundit", "~> 2.0.1"
gem "rest-client", "~> 2.0.2"
gem "seed_migration", "~> 1.2.3"
gem "sidekiq", "< 6"
gem "sidekiq-cron", "~> 1.2.0"

# Track object changes
gem "paper_trail", "~> 10.3.1"
Loading