efarooqui
32f3f41a82
Minor comment; running new ci file for testing
2021-02-22 10:40:54 -08:00
efarooqui
b91068c346
Linting errors
2021-02-17 11:36:36 -08:00
efarooqui
d6512e2cde
Replacing empty string with null
2021-02-17 11:33:39 -08:00
efarooqui
3c391e5dfa
Working error handling; refactored a bit but same functionality
2021-02-09 16:50:58 -08:00
efarooqui
7c963eb1d0
Working file export; need to test out error handling and flows
2021-02-09 15:38:54 -08:00
efarooqui
fb77e1c365
Adding fileDest to retrieveAll function in Controller
2021-02-08 18:37:11 -08:00
efarooqui
13a4b11259
New export route working to query all blueprints and add to one data object; need to write to file
2021-02-08 17:33:09 -08:00
efarooqui
7bafcb0343
Make new route in api instead of going through npm script; new retrieveAll call for controller
2021-02-08 11:49:43 -08:00
Lachlan
848d5b20f7
use tab as delimiter in intermediate representation
2020-11-12 13:25:39 +00:00
Lachlan
f5ada3d326
rm getFileExt
2020-11-12 10:12:25 +00:00
Lachlan
8dad1de61e
generalise LocalFetcher to support many sheet types (xlsx, ods, etc)
2020-11-12 10:06:02 +00:00
Lachlan Kermode
59157d44ba
add basic hbs view
2020-06-14 19:27:23 +02:00
Lachlan Kermode
d113181bb4
fix differential args for fetchers
2020-04-26 17:17:34 +02:00
Lachlan Kermode
f659b46233
all excel data as strings
2020-03-27 18:42:15 +01:00
Lachlan Kermode
5d7eb0af05
add xlsx support
...
by factoring out a Fetcher class
2020-03-27 12:30:21 +01:00
SAM LUDFORD
9deb5aae3f
multiple resources collapsed into single blueprint
2019-05-23 11:43:10 +01:00
SAM LUDFORD
8f397e395d
list of list of blueprints flattened into single list
2019-05-23 11:31:16 +01:00
Lachlan Kermode
95a501aba2
fix lint and prev commit errors
2018-12-14 17:24:50 +00:00
Joshua
5f4943d1d5
new server test with precommit hook to secure .env files, set up CI environment ( #5 )
...
* new server test with precommit hook to secure .env files, set up CI environment (#3 )
* [TESTS] added all registered routes to api server test
* [WIP] abstracting config to env where it makes sense, refactoring elsewhere, adding more tests
* [WIP] fixed tests so they fail as expected
* [WIP]
* [DEBUG] fixed issues with the env configuration, added correct tests
* [MISC] env didn't get readded on last precommit
* [TESTS] added longer wait time for server as sometimtimes tests fail arbitrarily
2018-12-14 15:59:12 +00:00
Lachlan Kermode
df239c8f58
rm debugging logic
2018-12-13 15:59:03 +00:00
Lachlan Kermode
5431b2be3f
abstract generic logic from blueprinters to blueprinters.js
...
The logic in the files in the 'blueprinters' folder is now _only_ the data transformation logic. Instead of taking in arguments like the sheetId, the tabName, and the sheetName, the function now takes a single argument: the list of lists that represents the raw data from the sheet.
This setup gives datasheet-server greater value, as it allows developers to only specify the transformation logic, and not worry about the other stuff that datasheet server is doing.
2018-12-13 15:56:54 +00:00
Lachlan Kermode
84237fcf14
fix lint
2018-12-13 12:42:53 +00:00
Lachlan Kermode
bbea550c87
fix ids blueprinter
2018-12-13 12:35:27 +00:00
Lachlan Kermode
f909abfdc0
fix retrieveFrag call
2018-12-12 16:07:25 +00:00
Lachlan Kermode
b2276c694e
export errors on default obj
2018-12-12 16:07:25 +00:00
Lachlan Kermode
4151d68f2e
update docs Interface.js, abstract model layer errors
2018-12-12 16:07:25 +00:00
Lachlan Kermode
60024a0479
build blueprints after update
2018-12-10 13:15:03 +00:00
Lachlan Kermode
8578bf3ae1
bind this context when currying
2018-12-10 13:13:48 +00:00
Lachlan Kermode
08dce0dbb9
strip down blueprint structure to what is necessary
2018-12-07 14:49:16 +00:00
Lachlan Kermode
35b8bf4d9c
add _buildBlueprintsAsnc in Fetcher
2018-12-07 13:58:38 +00:00
Lachlan Kermode
41e2ba8299
defaultRoute -> defaultResource
2018-12-07 13:02:50 +00:00
Lachlan Kermode
8a5bce0842
rename 'routes' in blueprints to 'resources'
...
routes was a confusing semantics that was not in order with the rest of the architecture
2018-12-07 12:32:32 +00:00
Lachlan Kermode
2be0f75362
correct load URLs for model layer
2018-12-07 12:04:02 +00:00
Lachlan Kermode
aff9b384d1
better saving schema for model layer
...
previously, the model layer had a confused interface, where it saved via blueprints, but loaded via a URL logic. This commit modifies Fetchers to save consistently via a URL
2018-12-07 12:02:40 +00:00
Lachlan Kermode
e6c83762b6
rename source to sheet
2018-12-06 16:45:51 +00:00
Lachlan Kermode
72edac944c
centralise msgs in copy/en.js
...
plus some other fixes
2018-12-06 16:22:10 +00:00
Unknown
04d80c7c2f
change linter to standard
2018-11-12 10:28:59 +00:00
Unknown
19f3edf55a
comment es5/es6 import in lib/blueprinters
2018-11-12 10:08:37 +00:00
Scott Carver
ba953f56d3
Explicitly export default objects
...
These cannot be imported elsewhere without explicitly adding them to module.exports.
2018-11-12 10:08:37 +00:00
Scott Carver
e418043d6b
Fix logic in sourceExists
...
The second line is unreachable, so this always returns true. It looks like the logic is supposed to be checking for a source in the list of fetchers - if so, this should now return the correct value in all cases.
2018-11-12 10:08:37 +00:00
Unknown
5d8db90618
add support for single blueprinter in config
2018-11-11 09:16:04 +00:00
Lachlan Kermode
2cbfbc33ef
Clean master commit
2018-10-31 19:35:15 +00:00