Skip to content
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

hasjob PWA #425

Merged
merged 20 commits into from
Apr 17, 2018
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a735def
Add service worker, manifest.json for hasjob PWA.
vidya-ram Feb 28, 2018
2c267be
Merge branch 'master' into service-worker
vidya-ram Feb 28, 2018
7d6d587
Add node_modules folder in gitignore.
vidya-ram Feb 28, 2018
08c5303
Update settings-sample to include ASSET_MANIFEST_PATH. Add sheetscrip…
vidya-ram Mar 6, 2018
834cf29
Change to requires for baseframe assets.
vidya-ram Mar 6, 2018
f5d48e8
Merge branch 'master' into service-worker
vidya-ram Mar 13, 2018
90fb6de
Move assets that require buildings to assets folder.
vidya-ram Mar 14, 2018
7274f5f
Remove node_modules folder.
vidya-ram Mar 14, 2018
59626a2
Add node_modules to gitignore.
vidya-ram Mar 14, 2018
5ef5cfd
remove unnecessary file.
vidya-ram Mar 14, 2018
17ed927
Add updated logo. Add the build css, js & service-worker.js
vidya-ram Mar 16, 2018
fe2c332
Merge branch 'master' into service-worker
vidya-ram Mar 16, 2018
679fd49
Start service worker only after window.load event.
vidya-ram Mar 16, 2018
270d480
1. Merge branch 'master' into service-worker
vidya-ram Apr 2, 2018
b74b6b9
Update runtime cache routes in workbox.
vidya-ram Apr 8, 2018
ee41032
Change offline route. Change offline stickie to use 40x stickie css.
vidya-ram Apr 16, 2018
7f101a8
Sync with master.
vidya-ram Apr 16, 2018
77fa655
Fix offline template.
vidya-ram Apr 16, 2018
7202b31
Fix style on offline page. Add links to dashboard & campaign on navbar.
vidya-ram Apr 17, 2018
ed6217a
Merge branch 'master' into service-worker
vidya-ram Apr 17, 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: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ hasjob/static/gen
*.sql
*.gz
*.bz2
hasjob/static/node_modules
9 changes: 3 additions & 6 deletions hasjob/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@

# First, make an app and config it

app = Flask(__name__, instance_relative_config=True, static_folder=None)
app = Flask(__name__, instance_relative_config=True)
app.static_folder = 'static'
mail = Mail()
lastuser = Lastuser()
redis_store = FlaskRedis()

# Second, setup assets
version = Version(__version__)
assets['hasjob.js'][version] = 'js/app.js'
assets['hasjob.css'][version] = 'css/app.css'

# Third, after config, import the models and views

Expand All @@ -47,9 +45,8 @@

RQ(app)

baseframe.init_app(app, requires=['hasjob'],
ext_requires=['baseframe-bs3',
('jquery.autosize', 'jquery.sparkline', 'jquery.liblink', 'jquery.wnumb', 'jquery.nouislider'),
baseframe.init_app(app, requires=['baseframe-bs3',
'jquery.autosize', 'jquery.sparkline', 'jquery.liblink', 'jquery.wnumb', 'jquery.nouislider',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We stopped using sparkline a while ago. Safe to remove now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

'baseframe-firasans', 'fontawesome>=4.3.0', 'bootstrap-multiselect', 'nprogress', 'ractive',
'jquery.appear', 'hammer'])
# TinyMCE has to be loaded by itself, unminified, or it won't be able to find its assets
Expand Down
Loading