Commit Graph

418 Commits

Author SHA1 Message Date
Brad Fitzpatrick fc154b900e schema: make DirectoryEntry return errors instead of nil
Change-Id: I7965e35fef75e54023903044f0b8150e4420a653
2011-07-18 19:06:56 -07:00
Brad Fitzpatrick 41c701d1f7 Merge "browsing a (permanoded) dir continuation of https://camlistore.org/r/36" 2011-07-19 01:47:18 +00:00
mpl 42dcd20ccb browsing a (permanoded) dir
continuation of https://camlistore.org/r/36

Change-Id: Idd4977bb5f4d3c5bf80831ffa4d09085485da0f0
2011-07-18 15:49:31 +02:00
Brad Fitzpatrick a0dcdfc74d Fix URL opening on windows.
Change-Id: I802b8d9a41a551c8af10d848ba9e60439a3a00d2
2011-07-17 17:57:48 -07:00
Brad Fitzpatrick 95a98d991d open admin UI on windows
Change-Id: I0df5042ddd9bb9058660468b862916a97b86c280
2011-07-17 17:30:40 -07:00
Brad Fitzpatrick 7a0e7a30ce webserver: split Serve into Listen+Serve
Change-Id: I8dd6d9b660ee56d33551993dafb5c86da8d77805
2011-07-17 17:24:38 -07:00
Nigel Tao 8833cd00d3 Fix bug in image resizing code.
Change-Id: I76049f4a1353bd6f63c8022d3b69f2bb43631966
2011-07-17 17:24:15 -07:00
Brad Fitzpatrick 114404d4a7 make webserver build on windows
Change-Id: Ib580d8a39607a28ce6670a2a11cfc3ca42dcc866
2011-07-17 15:27:20 -07:00
Brad Fitzpatrick 98d0739753 fixes to go-flickr to make it compile with recent Go
Change-Id: I95e9c0ad7ca948022ae083a06f6f8e082f62d376
2011-07-17 13:11:53 -07:00
Brad Fitzpatrick ddc1485d28 Add github.com/mncaudill/go-flickr to third_party
Change-Id: Ie13d717076a14175ebff11b2847281014d7d8d70
2011-07-16 13:12:08 -07:00
Brad Fitzpatrick 8403b0bd27 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-07-14 16:52:47 -07:00
Brad Fitzpatrick d420e2da20 DirectoryEntry interface.
Change-Id: Ide492cd8f273ff2ae440ac15d67d02acee87c612
2011-07-14 10:43:30 -07:00
mpl 42a60238da added Type test to Superset.NewFileReader (as per TODO)
Change-Id: I2c9b0868e1df65306e978552db2e135c5d623289
2011-07-13 10:52:37 +02:00
Brad Fitzpatrick 08c37e0469 updates for latest image changes
Change-Id: Ife974ec53109fe7c1a5f1b1223649e1b1be99e69
2011-07-12 18:21:05 -07:00
Lindsey Simon a461c76ccd Photo gallery stylin
Change-Id: Ibfe50a8d58ee2bb0f1f85b45a1b617026f154a71
2011-07-11 13:09:25 -07:00
mpl bce36761a1 undo merging of change If30e0a9613db42a94feda66bb225a844de6d1839 because still a wip
Change-Id: Id25f5aa0ae63b9d41d8a3ac9fd832194eafd07ee
2011-07-11 10:51:40 +02:00
Nigel Tao dca7cac879 Update image resizing code for Go change 9031:5c33eaa24213
Change-Id: I42a1ac64ee1721b9d47500884f94c7ce95fbd966
2011-07-10 19:33:21 -07:00
mpl ad49800183 hacky sketch for browsing a dir
Change-Id: If30e0a9613db42a94feda66bb225a844de6d1839
2011-07-10 12:30:29 -07:00
Brad Fitzpatrick ad06f285ae Merge "make govet even happier" 2011-07-09 22:32:15 +00:00
Robert Hencke c7e6967cf4 make govet even happier
Change-Id: Ic3f0f6ae543cb661f7bdc4068f32c386cb453b85
2011-07-09 17:27:31 -05:00
Robert Hencke 910cd043a8 make Brad happier
Change-Id: I21100b3c63de0982b8991a1ccde331f36d681c0d
2011-07-09 17:20:14 -05:00
Robert Hencke b886a74d39 make govet happier
Change-Id: Iee52786e9f68f0a0f94dd70fa7917cf24d54e8c3
2011-07-09 16:11:20 -05:00
Brad Fitzpatrick 591ced28b8 Merge "Changed all references of sort.SortStrings to sort.Strings per commit 9012 of go" 2011-07-09 01:12:29 +00:00
Brad Fitzpatrick 16cc888842 Add configuration discovery to publish handler.
This permits metadata edits on the publish page if the
viewer is the owner.

(e.g. tagging, titling photos...)

Change-Id: I08b098eaae92f5b629b02707d67bec23a705c29f
2011-07-08 15:05:46 -07:00
Amit Levy d6825c9af8 Changed all references of sort.SortStrings to sort.Strings per commit 9012 of go
Change-Id: I2af1eeea05b65db10b17bc077a8af2dd5778910d
2011-07-08 17:54:03 -04:00
Brad Fitzpatrick 6fe189a4cd publishing: new URLs, tests. Yay photo galleries.
Change-Id: I9081b49faf95f5193945032cbc6711f412bca198
2011-07-06 18:38:27 -07:00
Brad Fitzpatrick 94242a9ac4 more publish path tests.
Change-Id: Ieeea2d76a476bc169f4fd3f962c18b0e3896719d
2011-07-06 16:33:31 -07:00
Brad Fitzpatrick 40c4e2e1f0 Start of publish tests.
Change-Id: I0fe2d03942c25d0bf28ba334568781a55324f013
2011-07-06 11:59:50 -07:00
Brad Fitzpatrick 443cfd5268 move FakeIndex from camli/search's private tests to camli/test so others can use it
Change-Id: I927add0bd645d92d6c36133ff8df5fa0fe33f770
2011-07-06 11:20:25 -07:00
Brad Fitzpatrick a477909f09 publish: support /mxxx subresources. aka HTML pages for permanode members. aka photo one-up pages from galleries.
Change-Id: I404e836a728048631c6149ef76eb6d7014ec7978
2011-07-05 17:27:10 -07:00
Brad Fitzpatrick ebaf8b563e publish: static file support. and ditch camli/misc/vfs now that it's in Go's pkg http.
Change-Id: I5bf87d3ee305173c722fab6d9f1568a7c1be081a
2011-07-05 12:10:35 -07:00
mpl 5926a965d9 add limit to GetTaggedPermanodes
Change-Id: I59efbbb0a6645b262aa739344d31979e11e4351e
2011-07-05 19:31:05 +02:00
Brad Fitzpatrick 767d6f16cc New working but incomplete MySQL wrapper. Makes DB stuff easier.
Change-Id: I43333f9410e6ffabe3c24f4c505aeba5dc7d46f4
2011-07-05 00:11:29 -07:00
Brad Fitzpatrick 0fc83ee54a Don't reference potentially nil s.result.
Change-Id: If0768550b54a6a206e38be7b4e951ef526a873cf
2011-07-04 14:57:08 -07:00
Brad Fitzpatrick 4ecffa2f59 Add temporary github GoMySQL fork to third_party.
Change-Id: I84cb505ec4f480caf30e0fbfed77a1d823c05a04
2011-07-04 13:03:58 -07:00
Brad Fitzpatrick f91404ecfc Update gomemcache in third_party.
Change-Id: Ide78f9528c1327fd91a681595429eb0ebdffacf0
2011-07-03 16:13:44 -07:00
Brad Fitzpatrick 3e792ae70b Permit updating a subset of third_party.
Change-Id: Iccb3b8ed7f6baed3c9494b86bbdba9d39bd368d7
2011-07-03 16:13:35 -07:00
Brad Fitzpatrick 2c126a4841 Photo gallery thumbnails.
Change-Id: I71a628057ff790928e96909512e43d2997a76f85
2011-07-03 13:33:56 -07:00
Brad Fitzpatrick 182a058232 publish: serve subresource files (e.g. gallery members), with access control
Change-Id: I9f91b596b145c83bb026ba93becb5174480acadc
2011-07-03 12:28:39 -07:00
Brad Fitzpatrick 78078701d0 publish: start of file resource downloads, later thumbnails.
Change-Id: Ida5b009c11d359887edad7612aeec5dab96447e4
2011-07-02 23:32:42 -07:00
Brad Fitzpatrick 6179e508e3 publish: show title, members, include javascript blob metadata
start of awesomeness.

Change-Id: I45d63b04fa223b9aafceb9452b179e4ddc52bce5
2011-07-02 17:16:30 -07:00
Brad Fitzpatrick e55f01d3ea GoMySQL third_party git update.
Change-Id: I49f87a1f474af835d06104fbffa759468cf1daf9
2011-07-02 09:57:11 -07:00
Brad Fitzpatrick 0020e785b4 Add gomemcache to third_party.
Change-Id: Id2a33229da783521f875c6a5e2a9d219dbbc6b59
2011-07-02 09:56:50 -07:00
Brad Fitzpatrick 024e801ca7 gofmt the whole tree
Change-Id: Ic1b3dd12a4ede83b299dcf51f342e72d4f8700da
2011-07-02 09:09:50 -07:00
Brad Fitzpatrick 91ec88b7bd Add GetTaggedPermanodes to FakeIndex for testing.
Change-Id: I6b70a298efecb5e577027e0c5e6cf435af33c2b4
2011-07-02 09:06:15 -07:00
mpl 05c18e873e search for permanodes with the given tag(s)
Change-Id: Ibbe0163da522698c253615a26d4201a7e28348de
2011-07-02 17:16:19 +02:00
Brad Fitzpatrick f0470c4d8f search: add docs, DescribeError, Result
Change-Id: I8c891fd2832da3f49e653288fded2a7bd2f7fd2c
2011-07-01 19:36:22 -07:00
Brad Fitzpatrick 13b9ebcd0e Use os.Remove, not syscall
Change-Id: I60cda72e8d48fb3c9de7770c1affe23fc96c1f10
2011-07-01 14:36:48 -07:00
Brad Fitzpatrick 7e633e48f2 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2011-07-01 14:33:43 -07:00
Brad Fitzpatrick 981f7d88a8 Describe cleanup + more search/index tests.
Change-Id: Ia7b6e83966c5c9481400f88495fe7fd518be2f77
2011-07-01 14:33:15 -07:00