David Kagan
24a45bc30d
Cloud 1475 ( #2371 )
...
* working on incorporating regex logic
* Implemented a validation check for database name with given rules in doc within controller
* fixing tests to pass
* reflecting changes to match docs
* fixed tests further, hopefully
* for sure fixed integration tests, and moved validation check
* integration tests passed, go test now will pass
* fixed name size to 230 due to previous commit acknowledgement
* fixed field test negative validations
* added missing comma
2023-04-07 15:08:07 -04:00
Jacob Brinlee
df7e813f01
SUP-302 ( #2243 )
...
* add ability to use Θ in all field names & with PQL
2023-02-22 11:30:14 -06:00
Fletcher Haynes
da9b57bd45
Updated dependency paths to reflect new repo location
2022-09-06 09:39:22 -07:00
Fletcher Haynes
eb06bb50ae
Updated code to latest version for open-sourcing.
2022-09-02 13:23:39 -07:00
Kuba Podgórski
1f32fe05b0
Make not found error more verbose (add name)
2020-08-27 19:45:19 +02:00
Shaquille Wyan Que
fb93f90f31
fixed error message returned by regex on field and index names
2019-05-14 11:57:07 -05:00
Travis Turner
b46ff7b990
fix some lint warnings raised in VS-Code
2019-04-17 18:10:05 -05:00
Matt Jaffee
2414c71812
goimports
2019-04-15 11:15:11 -05:00
Matt Jaffee
f8a8a5d096
return orig error instead of cause in handler
...
also include the invalid name when erroring that a name is invalid.
2019-04-12 21:28:30 -05:00
Travis Turner
687b67dc54
prevent omitting zero ids on columnattrs
2019-01-28 13:16:43 -06:00
Travis Turner
efb9f97e61
Advertise address and listen on 0.0.0.0
...
This commit adds support for advertise address by using a new config
option `advertise`, or by defaulting its value to that
specified in `bind`.
Also adds support for listening on 0.0.0.0 by trying to determine
the preferred outbound IP to use for the advertise address.
2019-01-21 22:36:55 -06:00
Matt Jaffee
31ab3d37b8
add stress tests
...
these produce an issue on master, but it is fixed on this branch
2018-12-19 17:21:57 -06:00
Matt Jaffee
45cd48c1b7
change exists field to _exists
2018-12-17 15:44:50 -06:00
Ben Johnson
88c18ca1fe
Cancel queries on Context.Done()
...
This commit periodicially checks if the context has been cancelled
or if a deadline has been reached. If so, it returns a query-related
error message depending on the cause.
2018-12-12 16:55:44 -07:00
Matt Jaffee
36a539d24e
Merge branch 'master' into new-rows-iterate
2018-10-09 12:27:05 -05:00
Yuce Tekol
b6981930b1
ColumnAttrsSet omit empty ID
2018-10-05 16:47:53 +03:00
Matt Jaffee
54ce537327
copy non roaring-import code from Todds's row-iterate PR
...
tests passing
2018-09-17 16:01:51 -05:00
Travis Turner
9b4c67ee60
rename notnull to exists
2018-09-11 15:15:37 -05:00
Cody Soyland
4aa8a41fa0
Unexport NewNotFoundError
2018-07-05 23:11:56 -05:00
Cody Soyland
59bbbfc1fb
Unexport NewConflictError
2018-07-05 23:11:56 -05:00
Cody Soyland
a1fc587577
Unexport NewApiMethodNotAllowedError
2018-07-05 23:11:56 -05:00
Cody Soyland
761f6878fb
Unexport DefaultURI
2018-07-05 23:11:56 -05:00
Cody Soyland
71000ee6d0
Unexport ApiMethodNotAllowedError
2018-07-05 23:11:56 -05:00
Matt Jaffee
def3be0f17
remove more dead code
2018-07-05 16:25:04 -05:00
Travis Turner
9633e34300
address feedback in PR
2018-07-01 19:54:10 -05:00
Travis Turner
7dd1f50a75
consolidate http errors into a shared response type
2018-07-01 19:54:09 -05:00
Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Ben Johnson
060254e0d6
Key-to-ID Translation
...
This commit adds id-to-key translation to make it easier for users
to provide non-integer identifiers for rows & columns.
2018-06-15 16:45:05 -06:00
Travis Turner
fe167ea78c
un-export some top-level functions
2018-06-13 16:44:24 -05:00
Cody Soyland
f2c104dfef
Migrate HTTP handler and client into http subpackage.
2018-06-12 13:22:40 -05:00
Travis Turner
2a9b1e9e5b
final Frame to Field rename
2018-06-06 01:27:12 -05:00
Travis Turner
3531c128c4
GoRename Frame to Field in index.go
2018-06-05 22:33:48 -05:00
Travis Turner
dcf4daf24e
rename a lot of *Field cases to *BSIGroup
2018-06-04 17:33:55 -05:00
Matt Jaffee
47f7beaecc
WIP removing inverse
2018-05-25 17:18:38 -05:00
Matt Jaffee
620226d6ef
simplify comparisons to bool constants
2018-05-15 11:00:09 -05:00
Matt Jaffee
a10750009b
remove decodeColumnAttrSet(s) (unused)
2018-05-14 19:29:29 -05:00
Matt Jaffee
616545cd5c
remove input definition, add install-stringer to Makefile
...
also removes one line of unreachable code in cluster.go (unrelated)
2018-05-14 17:14:20 -05:00
Matthew Jaffee
876ed56e30
move pilosa.Config to pilosa/server.Config
...
step 1 of #1203
The Config object is really just a specification of the options to pilosa
server, so it makes sense to have it in that package.
2018-04-19 14:51:42 -05:00
Travis Turner
590b7c30ab
Merge pull request #1207 from travisturner/security-manager-to-api
...
Remove SecurityManager. Implement api restrictions in api package.
2018-04-18 07:30:28 -05:00
Travis Turner
e60d11a23e
change references from "function" to "method"
2018-04-17 17:07:41 -05:00
Travis Turner
5468065213
improve apiFunc error handling. change slice to map in function validation.
2018-04-17 13:01:36 -05:00
Matthew Jaffee
fe0ba6280f
deprecate RangeEnabled, but leave in API
...
the RangeEnabled option now has no effect, but it still exists in the API. A few
tests still use it to ensure this. This would only be considered a breaking
change if someone was relying on Pilosa to enforce the RangeEnabled: false
option to prevent fields being created in certain frames. This seems unlikely.
2018-04-16 16:08:04 -05:00
Matthew Jaffee
04f5d5875c
api docs, rename funcs, refactor usage of internal
...
All exported funcs in api.go are now documented
Several poorly named methods of API and Cluster were renamed. Particularly, the
word Fragment was often changed to Slice in cases where it was really a slice
being specified and not a fragment.
several methods which received or returned internal data structures have been
refactored to be more opaque.
Deprecation logging was added to input definition methods.
2018-04-12 11:28:35 -05:00
Matthew Jaffee
07610560df
Merge branch 'master' into 1151-http-refactor
2018-04-10 08:10:25 -05:00
Matthew Jaffee
f8cb579187
get tests passing
2018-04-09 14:29:43 -05:00
Yuce Tekol
8336784d57
More API updates; removed Cluster, Holder, etc from Handler
2018-04-03 15:01:36 -07:00
Travis Turner
ce4fb3c4d3
remove references to rowLabel and columnLabel
2018-04-03 10:36:48 -05:00
Travis Turner
b2b0fd081a
Remove ColumnLabel support
2018-03-26 15:35:56 -05:00
Travis Turner
2a8172b2a3
Remove RowLabel support
2018-03-26 14:48:56 -05:00
Travis Turner
9085c03ce8
Changes configuration cluster.type (string) to cluster.disabled (bool)
2018-02-08 12:40:46 -06:00