Commit Graph

3095 Commits

Author SHA1 Message Date
Brad Fitzpatrick cf116c6da9 importer: work on infrastructure for third-party import from other sites
Change-Id: Ib4e5e4d543a1b2a913b99fa0a4d92f1a5b94c5dc
2013-10-19 15:48:05 -07:00
Brad Fitzpatrick a78704c979 search: add AnyCamliType constraint
Change-Id: Ib129d4d365d040e0b12b2e3aa35c38a59ed7bc04
2013-10-18 19:10:59 -07:00
Brad Fitzpatrick ea079282d6 search: tests for logical operators
Change-Id: I3d389c3b58206fd98140834162aec17218bbce14
2013-10-18 18:50:19 -07:00
Brad Fitzpatrick f515ec9861 search: add test for blob prefix queries
Change-Id: If53acf332f8eb72d82735d8707a77a21694e83ba
2013-10-18 18:28:05 -07:00
Brad Fitzpatrick b9d4b7dc09 search: search on blob size
Change-Id: Id87fb65ebe0fec304637c6acb29ea27bd99d3bb1
2013-10-18 18:12:23 -07:00
Brad Fitzpatrick 7101fe1b64 search: search on CamliType
Change-Id: Ie4c0655da9407b49a67cd6d11240b697bd9bd6f0
2013-10-18 17:56:56 -07:00
Brad Fitzpatrick 9625970095 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-10-18 17:17:39 -07:00
Brad Fitzpatrick 17ecf8df07 search: start of general Query support. very rough draft.
Start of something that builds and 'works', but barely fleshed out at all.
Likely to change drastically yet.

Change-Id: I7fba25528a341ff2dbbc4dbb579f2450d7889320
2013-10-18 17:17:35 -07:00
mpl 74bb79e63b buildbot: broke into a master and a builder bot
This change is the first major step towards more improvements to the
buildbot. It cleans up various details, but most notably:
-it now uses a task as the basic data structure, to improve readability
and maintainability
-it breaks the bot into a master bot and a builder bot.
-it allows a master to receive reports from remote bots, and the
status page now aggregates all those reports.
-it allows a builder bot to send its reports to several master bots.
-the master bot uses whatever go version is installed to build the
builder bot, or the downloaded go tip if none is found.

The master bot is in charge of
1) monitoring the changes to the Camlistore and Go repos,
2) recompiling builder bot, which allows to add some new tests to the
test suite without having to interrupt the master bot.
3) starting a builder bot instance
4) waiting for the builder bot report and/or polling the builder bot
for its progress
5) answering the requests to display the various status pages.

http://camlistore.org/issue/185

Change-Id: I46a0b8fabbebf76b0c3ed04fd2ee73362d565cf7
2013-10-18 19:32:24 +02:00
Brad Fitzpatrick dfed62b76a Merge "use XDG_CACHE_HOME for cache if set" 2013-10-17 22:17:49 +00:00
Mathieu Lonjaret f465124e71 Merge "cammount: handle SIGINT, so that we unmount too in that case." 2013-10-17 15:00:55 +00:00
mpl 76b38c477c C+A: Add Salman Aljammaz
Change-Id: I7688971fba9ced477de1430bbb236b9cc7966954
2013-10-17 16:58:50 +02:00
Salman Aljammaz a607971f5f cammount: handle SIGINT, so that we unmount too in that case.
Change-Id: I5e82c6326aab892674c775e0615a91af71532d3c
2013-10-17 15:22:18 +01:00
Salman Aljammaz 408bed7d74 use XDG_CACHE_HOME for cache if set
Change-Id: Id06be1e98c7b550cbb92cedd21fd852c0e158857
2013-10-17 12:50:03 +01:00
Aaron Boodman 02665d5d3c Use pushstate() to give searches URLs and history entries.
Also, remove note about bref support from search instructions since
apparently that isn't supported yet.

Change-Id: I1ccbb8be44aa62ae7191aef913c7a226fd90a775
2013-10-16 23:54:26 -07:00
Mathieu Lonjaret 9f34f54675 Merge "Combine search and index page functionality." 2013-10-16 12:59:40 +00:00
Aaron Boodman 8418852996 Combine search and index page functionality.
Also:

* Changed favicon to a safe
* Clean up design of toolbar
* SVG support buggy in Chrome, replace SVG checkmark icons with PNG

Screen cap:
http://vault.aaronboodman.com/share/sha1-2dbb2b515fc84f2ef1395ee263cd41c1a6700de2?via=sha1-6eb9c7651ffa8e6f4f95e8fc6800a4672c4e179a&assemble=1

Change-Id: Ic5d2eb30ea1d72022a2b8804cae887319ac32a1b
2013-10-16 01:08:02 -07:00
Brad Fitzpatrick c83e7bb217 Merge "website: vars cleanup&renaming" 2013-10-15 22:15:04 +00:00
mpl a2407ec897 website: vars cleanup&renaming
Change-Id: Iaf3784e26d4a2fbe403f8fcafb482779c16dbe77
2013-10-15 23:54:34 +02:00
Mathieu Lonjaret 3695a98975 Merge "buildbot: use ringBuffer to store last 1MB of logs" 2013-10-15 14:28:55 +00:00
Bill Thiede 0712432e1f buildbot: use ringBuffer to store last 1MB of logs
Change-Id: I689ca82c64b9c7f89913551c5138a78718377c0d
2013-10-14 17:20:36 -07:00
Brad Fitzpatrick a58dcc1e5a diskpacked: re-use fds when possible when reading blobs from pack files.
We could actually do better than this and use the fd already open
from the still-appending file, or just keep one fd open per pack
file.

But this is a start.

Change-Id: I164a9bdf44987c3f057872cc7fdee1735f9e89a9
2013-10-10 20:06:30 -10:00
Brad Fitzpatrick 6e92302b1d Fix data races added in 161fc061d3
Change-Id: I7167472de3778fc76cc54dff6c864ed43b2052e9
2013-10-10 19:54:23 -10:00
Brad Fitzpatrick b169d80589 localdisk: update failing test's style.
doesn't fix test though.

Change-Id: I5fcca5abbc6b71cfde1a1816b8b8915ca122e644
2013-10-10 17:05:14 -10:00
Brad Fitzpatrick 72021e4516 Merge "runAsChild: s/Fatal/Fatalf/" 2013-10-10 20:21:19 +00:00
Brad Fitzpatrick 736f5d0d21 Merge "Add generation support for diskpacked." 2013-10-10 20:14:17 +00:00
Tamás Gulácsi 161fc061d3 use syncutil.Group and syncutil.Gate for paralellizing blobserver stats/removes
- where TODO exist.

Change-Id: If7340cf3bfcd5f5211f646404312c2fd15947bd9
2013-10-10 21:52:12 +02:00
Tamás Gulácsi a624b6d3b2 Add generation support for diskpacked.
Refactor the localdisk, diskpacked common code to pkg/blobserver/local
(only StorageGeneration, ResetStorageGeneration in this CL)

Change-Id: Ib04125805d5a1960bd29a474d3fc7ca985708d8d
2013-10-10 21:35:44 +02:00
Brad Fitzpatrick 34823a1655 Merge "add capctime flag to camput" 2013-10-10 01:13:14 +00:00
Brad Fitzpatrick 76f4c660d8 Merge "Let diskpacked maxFileSize be configurable" 2013-10-09 22:23:06 +00:00
Brad Fitzpatrick b98ea43e45 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-10-09 12:21:05 -10:00
Brad Fitzpatrick 6a596cdbfd C+A: add Tamás Gulácsi
Change-Id: I289c9de99190d39fd4a59c2f4f6a98cd641b962b
2013-10-09 12:20:49 -10:00
Tamás Gulácsi e056081be1 add capctime flag to camput
I can recreate the file, set the modification time, but can't forge creation
time, thus cannot recreate the exact same uploaded file twice.
This change targets this problem.

As this is a very rarely used flag, this is enabled only if the CAMLI_DEBUG
environment variable is true - such as the other "gross" options
(statcache, sqlitecache...).

Change-Id: I99c7805898ed97883043de4e7dcec23a472e462c
2013-10-09 21:06:51 +02:00
Tamás Gulácsi 1cd83acccf Let diskpacked maxFileSize be configurable
And on the way, remove diskpacked.New, as unused.

Change-Id: Idd14dd08fcf0645237dda66b4fa2d6c5e6e5b3e4
2013-10-09 09:24:31 +02:00
Brad Fitzpatrick 81acf521ce Merge "serverconfig: conditionally install expvar handler." 2013-10-09 06:53:47 +00:00
Mathieu Lonjaret 3ddaa99206 Merge "verifyGoVersion: log.Fatalf was missing 'version' var" 2013-10-08 20:45:35 +00:00
Steve Phillips fc09b38397 verifyGoVersion: log.Fatalf was missing 'version' var
Change-Id: I10c71e96a598ec640131245b73ae201161f68622
2013-10-08 11:47:45 -07:00
Steve Phillips 20ad044144 runAsChild: s/Fatal/Fatalf/
Change-Id: Icda2322368a5acbbd18d3d19ffe0fe716ced29cb
2013-10-08 11:46:20 -07:00
mpl 616acae745 website: clean up overlooked notes.
Change-Id: Ida760b727d7fa9f45f553dad2096afca47cbfac4
2013-10-07 23:28:55 +02:00
Brad Fitzpatrick f27b988e7b Merge "CONTRIBUTORS: s/assigment/assignment/" 2013-10-07 03:30:41 +00:00
Brad Fitzpatrick 977c396927 Merge "Added missing var 'which' used in a fmt.Errorf" 2013-10-06 06:47:07 +00:00
Brad Fitzpatrick 7742892670 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-10-05 20:46:43 -10:00
Brad Fitzpatrick c8badb4404 Misc cleanups
Change-Id: I9183ca1ec7a98df210373f27ec3493c996f00f74
2013-10-05 20:46:39 -10:00
Brad Fitzpatrick 0f2707fd0f C+A: Add Steve Phillips
Change-Id: I7716db45e355b6c721c009485e5a97835d53932e
2013-10-05 20:46:05 -10:00
Steve Phillips 01f65d3b75 CONTRIBUTORS: s/assigment/assignment/
Change-Id: I8b226de20b95fa487d8cf5c0412a687bd5a71cae
2013-10-05 12:12:45 -07:00
Bill Thiede b576dcc481 serverconfig: conditionally install expvar handler.
Add local copy of the standard library's expvar handler.

Change-Id: Ida41553345d7d29665f33268356bf16a80386e38
2013-10-04 21:24:24 -07:00
Steve Phillips 5dc853110f Added missing var 'which' used in a fmt.Errorf
Change-Id: I0b9a7c6a0c7e523a75f3e5beebbd860e0092a81f
2013-10-04 18:44:40 -07:00
Aaron Boodman 74eb8e6c3c Further visual refinements to layout of homepage:
* Increase default image size a few settings
* Increase gutter between items
* Remove extraneous padding and whitepsace
* Remove unneeded gigantic heading
* Move build version into statusbar
* Change algorithm for fitting rows -- instead of preferring to clip
  edges of image, instead prefer to adjust height of rows. I find it
  looks more interesting visually when the widths of the images vary
  more.
* Replace folder and file icon with something better looking
* Swap order of + and - buttons in toolbar, they were backward from
  what is typical

Change-Id: Idfe85a813926c2c9eea774a86046df62ecacd45c
2013-10-04 14:04:38 -07:00
Aaron Boodman aac43b56fc Move to "G+-style" selection.
To select an item, click the checkmark that overlays on rollover.
To navigate, just click anywhere else on the item.

Also move selection from additive by default rather than exclusive.

Change-Id: I47e6ca1942fe1fdaaf615f6ab0e0a547f1a51735
2013-10-03 22:06:31 +00:00
mpl 44ca418e4f Merge "camput attr: support -del" 2013-10-03 13:10:22 +00:00