Commit Graph

132 Commits

Author SHA1 Message Date
Hakan Ensari
b3a557e8d6 Split Rubocop files and fix warning 2019-11-22 13:12:25 +00:00
Hakan Ensari
7e8fa60440 Allow domain root in robots.txt 2019-05-12 11:59:51 +01:00
Hakan Ensari
f62426797d Handle interval where base is missing on older dates 2019-05-02 20:36:35 +01:00
Hakan Ensari
6c48bcadbe Yank content from server 2019-04-25 16:58:29 +01:00
Hakan Ensari
7d171ac7be Minor tweaks 2018-10-18 13:34:21 +01:00
Hakan Ensari
c1e1644c52 Implement currencies endpoint 2018-10-10 13:55:55 +01:00
Hakan Ensari
8d61d97c69 Fix test task 2018-10-10 13:55:55 +01:00
Hakan Ensari
428f24ec64 Add link to Product Hunt 2018-10-09 17:52:43 +01:00
Hakan Ensari
63b898571d Add sitemap 2018-10-09 15:55:20 +01:00
Hakan Ensari
200d10122a Add Deploy to Heroku button 2018-10-07 01:08:45 +01:00
Hakan Ensari
cf373f3efb Denormalise database schema
This way, we will have no issue fitting the entire dataset on the free tier of Heroku
2018-10-07 01:08:45 +01:00
Hakan Ensari
fb7761bc05 Refactor daemon 2018-10-07 01:08:45 +01:00
Hakan Ensari
fb44818efb Implement fork-based daemon for scheduling jobs
Extracted from

https://github.com/discourse/discourse/blob/master/lib/demon/sidekiq.rb
2018-10-07 01:08:45 +01:00
Hakan Ensari
1da5f39405 Improve SEO? 2018-10-07 01:08:45 +01:00
Hakan Ensari
4df1d794c2 Don't return empty hashes
This happened when rebasing and converting to unavailable currencies. For instance, the following was returning empty hashes for dates prior to the release of the new Turkish Lira:

https://frankfurter.app/1999-01-01..?from=USD&to=TRY
2018-09-21 20:20:56 +01:00
Hakan Ensari
2b53906e41 Get time period up to the present 2018-09-18 13:16:10 +01:00
Hakan Ensari
b64a41b87f Visual tweaks 2018-09-18 13:15:58 +01:00
Hakan Ensari
603ad1c653 Remove obsolete code 2018-09-18 12:58:28 +01:00
Hakan Ensari
d107134548 Upcase symbols 2018-09-18 12:56:11 +01:00
Hakan Ensari
79f1972361 Fix tracking code 2018-09-17 22:14:21 +01:00
Hakan Ensari
0a2f6f443f Hide on mobile 2018-09-17 14:06:43 +01:00
Hakan Ensari
5eddb8cad0 Add cookie notice 2018-09-13 17:34:44 +01:00
Hakan Ensari
396427f0e4 Remove unused css 2018-09-12 11:08:17 +01:00
Hakan Ensari
5467b1b50e Fix js toggle 2018-09-11 18:41:51 +01:00
Hakan Ensari
e52cdd8512 Fix Rubocop offenses 2018-09-11 18:08:14 +01:00
Hakan Ensari
c6a04ae694 Fix ECB url 2018-09-11 18:05:14 +01:00
Hakan Ensari
5789880a59 Update homepage 2018-09-11 17:59:42 +01:00
Hakan Ensari
479ed20142 Return amount 2018-07-20 21:14:26 +01:00
Hakan Ensari
09ec280a81 Drop Guard, use Sass 2018-07-20 21:14:26 +01:00
Hakan Ensari
a96e56808e Implement time series
... along with some minor miscellaneous refactoring

This finally completes fixerAPI/fixer#22
2018-07-05 21:30:17 +01:00
Hakan Ensari
95d63c143f Refactor tasks that fetch rates 2018-06-08 15:32:52 +01:00
Hakan Ensari
2c91173ecf Rebrand, serve HTML 2018-06-08 15:32:52 +01:00
Hakan Ensari
a0a981e897 Use ON CONFLICT when fetching all records 2018-03-22 08:49:32 +00:00
Hakan Ensari
9389566ab0 Revert "Add some rake tasks for Docker"
This reverts commit 9d364565f6.
2018-03-17 14:41:44 +00:00
Hakan Ensari
9d364565f6 Add some rake tasks for Docker 2018-03-17 14:39:42 +00:00
Hakan Ensari
fc98543702 Fix quoting amount to specific currency when base is Euro 2018-03-17 14:26:59 +00:00
Hakan Ensari
15813d8e1c Add back base 2018-03-09 12:20:25 +00:00
Hakan Ensari
cfbb4ac4ac Repack app
I'm moving my company's server to a private location now that I have sold the domain. While prepping for this, I've done some cleanup and also threw in changes I had lingering on my hard drive.

- Run a single database query instead of two
- Fold the gem into the app and use Ox instead of REXML
- Simplify error handling logic
- Relax throttling
2018-03-08 23:51:36 +00:00
Hakan Ensari
3319c49dca Spring clean code base
- Bump ruby version
- Remove obsolete files, including deploy artefacts
- Don't use pride when testing
- Store gem and app in same repo
- Switch to asdf
2017-11-09 23:30:13 +00:00
Hakan Ensari
3c4f70cf49 Remove New Relic agent 2017-06-14 23:01:27 +01:00
Hakan Ensari
0e0d1374e8 Fix route syntax 2017-06-14 23:01:27 +01:00
Hakan Ensari
b05ed02b5e Remove app version 2017-06-14 23:01:27 +01:00
Hakan Ensari
40b4e39465 Rubocop fixes 2017-06-14 23:01:27 +01:00
Hakan Ensari
b616346701 Move symbol filtering to Quote 2017-01-10 12:44:22 +00:00
Hakan Ensari
e5cb17d0b9 Drop caching 2017-01-10 12:21:19 +00:00
Hakan Ensari
4dd1acec95 Use rack-cache 2017-01-10 12:06:03 +00:00
Hakan Ensari
7504abe6b4 Remove unnecessary empty lines 2017-01-10 12:06:03 +00:00
Hakan Ensari
3fdae1090b Always set Content-Type to JSON
Fixes #45
2017-01-08 23:21:57 +00:00
Hakan Ensari
2b85a05380 Don't dump errors to log 2017-01-08 23:21:57 +00:00
Hakan Ensari
9862a10685 Remove duplicate code 2017-01-08 23:21:57 +00:00