Anders Olsen Sandvik
f01ef69d7e
#108 Add eslint-config-spt and remove jshint ( #111 )
...
* #108 Add eslint-config-spt
* #108 Ignore bundle.js file
* #108 Change eslint ignore path to a glob file
* Remove jshint and follow more of eslint rules
2016-04-24 22:41:37 +02:00
ivaosthu
3fb86a2803
upgrade node to 4.2.2. Closes #106
2015-12-01 12:05:12 +01:00
giacung
1212e6b266
Health check should verify that it can talk to the toggle-store (aka DB).
...
This commit fixes #103 by doing a simple select against the features table.
2015-10-02 13:54:32 +02:00
Ivar Conradi Østhus
2425a91be7
Merge pull request #92 from finn-no/improvement/reflux
...
Improvement/reflux
2015-03-23 17:43:50 +01:00
Jari Bakken
40b6606a42
Reduce logging in production.
2015-03-10 16:32:40 +01:00
Ivar Conradi Østhus
d495bb1829
Added poller to keep the store in sync with server.
2015-03-05 17:57:42 +01:00
andsandv
94f78797df
Check if strategy exsit before deleting it
2015-02-12 11:41:30 +01:00
andsandv
0ad2bde14a
#80 More renaming
2015-02-09 18:28:51 +01:00
andsandv
f35ea4355a
#80 Rename event ypes
2015-02-06 15:18:54 +01:00
andsandv
3e30193ace
Revert " #80 Change all event types to past tense"
...
This reverts commit a754fcb3a9
.
Might break database so I'll send a pull request.
2015-02-06 15:17:31 +01:00
andsandv
a754fcb3a9
#80 Change all event types to past tense
2015-02-06 15:12:32 +01:00
Ivar Conradi Østhus
2a4a76aaf5
When the user enters his username in to the field
...
a username cookie is updated and will be available
in all subsequent requests.
THIS IS NOT AUTHENTICATION! it is not safe and is
only implemented as a first edition. It does how ever
solve the issue where we are not able to see who
canged what.
2015-02-05 13:39:00 +01:00
Jari Bakken
b1f2bce248
log views: show event diffs by default, toggle to show the full event.
2015-02-04 17:16:59 +00:00
ivaosthu
505d6373cd
Added archived toggles feature #43
2014-12-17 21:57:38 +01:00
ivaosthu
48d2e0c304
API and gui for archiving #43
2014-12-15 22:40:07 +01:00
Jari Bakken
e3a44d0a92
Use TEST_DATABASE_URL for running test against a separate DB.
2014-12-12 16:13:06 +01:00
Jari Bakken
c67b73b5b3
Skip API and create test data in the DB directly (since the API is async)
2014-12-12 16:13:06 +01:00
Jari Bakken
e52c1d16fe
Begin work on running tests against the database:
...
* Add Travis postgresql setup.
* Replace "db mocks" with a before hook that creates the same data
through the HTTP API.
* Reset DB and re-create all fixtures for each test. We'll need
something better here.
* CAVEAT: no concept of a dev vs test database. Running tests will
clear data from the currently configured database.
2014-12-12 16:12:56 +01:00
ivaosthu
00da8d1e3b
Clean up strategyApi with chained-promises
2014-12-10 19:11:52 +01:00
ivaosthu
553f20c3a6
Syntax
2014-12-10 18:51:27 +01:00
ivaosthu
65225ffba0
Validation logic should probably not be in the db-code
2014-12-10 18:49:08 +01:00
ivaosthu
6133f4920b
Cleaned up and changed promises used in the feature API
2014-12-10 18:45:02 +01:00
ivaosthu
778b81f1cd
changed order for feature toggles.
2014-12-10 17:13:26 +01:00
ivaosthu
c16f4a1867
Implemented server side API for deleting strategies.
...
relates to #60
2014-12-08 20:56:22 +01:00
ivaosthu
6eaf18a7f7
strategies should be order after createdAt ASC
2014-11-29 11:51:57 +01:00
Jari Bakken
20c4fe6702
Add ability to create custom stratgies. Closes #11 .
2014-11-25 15:28:31 +01:00
Ivar Østhus
7c5aa8e5bb
strategies should be fetched from DB
2014-11-17 22:39:04 +01:00
Ivar Østhus
e3b8a868d1
Added the default strategies via migration
2014-11-17 21:23:23 +01:00
Gard Rimestad
cf3eaefb46
Improvements on log view
2014-11-17 10:13:30 +01:00
Jari Bakken
92eda2660e
Fix getFeature() semantics
...
It will always reject if the feature is not found, not resolve to null.
2014-11-14 16:58:05 +01:00
Jari Bakken
d591cdad2b
Use knex' map()
2014-11-14 16:40:13 +01:00
Jari Bakken
3d52d97f85
Use knex for DB access. Closes #46 .
2014-11-14 15:06:53 +01:00
Jari Bakken
981c383bb5
Replace PATCH with PUT, which enables editing multiple fields at once.
...
Closes #47 .
2014-11-14 12:56:23 +01:00
Gard Rimestad
f9477e2e35
Fix event api
2014-11-14 07:28:40 +01:00
Gard Rimestad
360c1bc37a
Adding events/:name
2014-11-14 07:13:08 +01:00
Jari Bakken
178f2111dd
Add features.description to db and ui
2014-11-10 16:21:22 +01:00
Jari Bakken
d30bc6a54c
Reduce duplication when adding a new migration.
2014-11-10 15:58:11 +01:00
Ivar Østhus
954f6c76ad
Strategies should also have description #34
2014-11-03 21:32:25 +01:00
Jari Bakken
fee7838d20
Get rid of deprecation warnings.
2014-11-03 12:43:23 +01:00
ivaosthu
0ba223dc4e
Simple tab-based menu to have a contianer for strategies
2014-11-01 14:52:37 +01:00
ivaosthu
f38a07325d
added server side validation of feature name
2014-11-01 11:47:21 +01:00
Jari Bakken
8c3fdfc9d4
Move unleash-server to top level.
2014-10-31 16:35:35 +01:00