Commit graph

3762 commits

Author SHA1 Message Date
Matt Jaffee
9fdb2e1460 differentiate error messages 2017-05-03 13:52:04 -05:00
Ben Johnson
d93ad0530a Merge pull request #503 from benbjohnson/prevent-matching-labels
Prevent row labels that match the column label.
2017-05-03 11:20:37 -06:00
Ben Johnson
35e8a75f25 Merge pull request #525 from benbjohnson/write-limit
Add max-writes-per-requests limit.
2017-05-03 11:19:17 -06:00
Ben Johnson
e3d6f96657
Add max-writes-per-requests limit.
A configurable limit has been added to restrict the number of
mutating calls in a `pql.Query`. This is to prevents requests from
timing out from large queries.

The default is set to 5000 writes per request and is configurable
through the configuration file and the command line flags.
2017-05-03 08:53:20 -06:00
Linh Vo
0bef10d4df Merge branch 'master' of github.com:pilosa/pilosa 2017-05-03 09:51:56 -05:00
Cody Soyland
d2d3f28865 Merge pull request #518 from codysoyland/badges
Add additional badges to README (#402)
2017-05-03 10:49:14 -04:00
Linh Vo
d8e4f67d74 Merge pull request #510 from linhvo/webui-updated
Webui updated
2017-05-03 09:07:55 -05:00
Matt Jaffee
36e11e4ba8 remove print 2017-05-02 17:53:22 -05:00
Matt Jaffee
11b84cec94 change default cache type to ranked
All tests which use MustOpenFragment now explicitly pass a cacheType parameter.
If this parameter is an empty string, it means that whether the test works
should not depend on the cache type of the fragment. Otherwise the test should
explicitly set the cache type it needs rather than relying on the default.
2017-05-02 16:58:03 -05:00
Linh Vo
69af3246db fix use command 2017-05-02 11:48:34 -05:00
Linh Vo
547c64397c break word into multiple lines 2017-05-02 11:35:29 -05:00
Travis Turner
d8b762c165 Merge pull request #520 from travisturner/default-parition-n
Default partition n
2017-05-02 08:51:11 -05:00
Travis
f429c87a56
new test function: MustCreateRankedFragmentIfNotExists 2017-05-01 23:57:43 -05:00
Travis
231cf683f0
Adjust tests to work with new DefaultPartitionN.
This mainly involved running `RecalculateCache()` on all fragments
in `TopN` tests. It seems these tests have been running as LRU
caches, and once we made `ranked` the default, they stopped working.
Some tests were affected by the change in partition number and
therefore the change in fragment to node mapping.
2017-05-01 23:07:41 -05:00
Travis
8b5b383e93
Merge branch 'default-parition-n' of github.com:jaffee/pilosa into default-parition-n 2017-05-01 20:47:18 -05:00
Travis
eb47458783
Add LICENSE to internal/ folder.
Because the *pb.go files get auto-generated, we can't easily
keep the license block on the top of the *.pb.go files.
Instead, we keep a copy of the LICENSE file in the same directory
as the generated *.pb.go files.
2017-05-01 20:32:04 -05:00
Cody Soyland
ac119889e4 Add additional badges to README (#402) 2017-05-01 17:02:25 -05:00
Matt Jaffee
c828953702 change the default num and try to fix some tests 2017-05-01 16:58:45 -05:00
Linh Vo
6b32e70638 Merge branch 'master' of github.com:pilosa/pilosa 2017-05-01 15:20:26 -05:00
alanbernstein
f18f189c69 Merge pull request #516 from alanbernstein/master
Fix typo in readme
2017-05-01 14:36:25 -05:00
Alan Bernstein
edc8f0004f Fix typo in readme 2017-05-01 14:04:36 -05:00
Linh Vo
f17a49a8c5 consistent function's name 2017-05-01 11:48:32 -05:00
Michael Baird
06665d048d missing comments 2017-05-01 11:04:53 -05:00
Michael Baird
25227787fc rename var 2017-05-01 10:56:12 -05:00
Michael Baird
f82ce17c33 spelling 2017-05-01 10:52:00 -05:00
Michael Baird
ba851accbb fixed test failures 2017-05-01 10:50:54 -05:00
Michael Baird
ee159b455d Merge remote-tracking branch 'origin/master' into metrics
Conflicts:
	.gitignore
	cluster.go
	frame.go
	glide.lock
	index.go
2017-05-01 10:41:04 -05:00
Linh Vo
0a6c4d23fd add indexname to parse_query func 2017-05-01 10:30:36 -05:00
Linh Vo
9ed5d2dd14 remove expand link after expanding output 2017-05-01 10:24:00 -05:00
Travis Turner
84e39e3bd8 Merge pull request #507 from travisturner/roaring-test-fix
Fix roaring test: TestBitmap_Quick_Array1
2017-04-30 21:27:01 -05:00
Linh Vo
8ceaf82f03 create/delete/use command, expand output 2017-04-30 00:24:28 -05:00
Linh Vo
9b597a358d Merge branch 'master' of github.com:pilosa/pilosa 2017-04-29 23:45:51 -05:00
Cody Soyland
40ea7584a0 Merge pull request #509 from codysoyland/url-fix
Correct documentation link
2017-04-29 21:46:06 -04:00
Cody Soyland
be121d1115 Merge pull request #508 from codysoyland/webui-fixes
Webui fixes
2017-04-29 21:45:57 -04:00
Cody Soyland
42281f1c5d Correct documentation link 2017-04-29 20:40:56 -05:00
Cody Soyland
607fe9e529 Modify documentation link so it doesn't display a blank page 2017-04-29 20:38:42 -05:00
Cody Soyland
85d2fb55a7 Set html title of WebUI to "Pilosa WebUI" 2017-04-29 20:37:40 -05:00
Travis Turner
a42a73dfdf Merge pull request #506 from travisturner/allow-caps-in-labels
Allow caps in labels
2017-04-29 19:47:56 -05:00
alanbernstein
5593add463 Merge pull request #488 from alanbernstein/webui-updates
Webui updates
2017-04-29 19:06:19 -05:00
alanbernstein
ae7b2615fe Merge branch 'master' into webui-updates 2017-04-29 18:57:13 -05:00
Travis
ea4bf0a1d3
Fix roaring test: TestBitmap_Quick_Array1
When the random number generator was coming up 0,
then `a = []uint64{}`. This caused the bitmap `bm` to be empty.
In this case, `bm.Slice()` is a nil slice, while the expected
slice is an empty slice (i.e. they are not considered equal):
got: ([]uint64) <nil>
exp: ([]uint64) {}
2017-04-29 18:04:59 -05:00
Travis
b0fa067ffc
remove the ability to start an Index, Frame, ColumnLabel, or RowLabel with a number 2017-04-29 16:49:23 -05:00
Alan Bernstein
75f2ff8cf0 Show statik error in browser 2017-04-29 16:22:26 -05:00
Travis
692d997cab
add labelRegexp to validate row and column labels 2017-04-29 15:01:18 -05:00
Travis
77feba689d
remove the support for . in Index and Frame names 2017-04-29 14:38:14 -05:00
Alan Bernstein
2c3e35fa90 Don't panic on statik failure 2017-04-29 10:16:58 -05:00
Travis Turner
a1871388b0 Merge pull request #504 from travisturner/default-row-label
change DefaultRowLabel from `id` to `rowID`
2017-04-28 22:06:34 -05:00
Cody Soyland
6f571b9150 Merge pull request #502 from codysoyland/license
Apply Apache License 2.0
2017-04-28 22:17:08 -04:00
Alan Bernstein
e095ad13a5 Remove timestamp on cluster tab 2017-04-28 15:28:07 -05:00
Alan Bernstein
72ace793a6 Fix table structure 2017-04-28 15:28:07 -05:00