42 Commits

Author SHA1 Message Date
igorkofman
521b7238ab Merge pull request #34 from kyleconroy/correct-amz-credential-date
Generate correct date for AMZ credentials.
2015-10-28 08:44:58 -07:00
Kyle Conroy
d61394b041 Generate correct date for AMZ credentials.
The old function was adding numbers together instead of strings. Convert
the numbers to strings before addition.
2015-10-27 22:09:49 -07:00
igorkofman
c0f57cddc9 Merge pull request #26 from trustrachel/hackpad-docker
Dockerize Hackpad
2015-09-20 13:16:06 -07:00
igorkofman
cd5889d680 Merge pull request #24 from kyleconroy/fix-latex-api-endpoint
LaTeX endpoint should be POST, not GET
2015-09-20 13:14:40 -07:00
igorkofman
b18f6f30ed Merge pull request #19 from dandv/patch-1
Markdownify the README
2015-09-20 13:14:26 -07:00
igorkofman
8d95c74479 Merge pull request #16 from kyleconroy/kjc-create-new-account
Pass the correct number of arguments to createNewAccount
2015-09-20 13:14:05 -07:00
igorkofman
90de3f9130 Merge pull request #15 from kyleconroy/kjc-remove-csp-policy
Don't add CSP header when disallowing framing.
2015-09-20 13:12:55 -07:00
igorkofman
afa1246584 Merge pull request #14 from MonoBan/patch-2
update run.sh to fix issue #9
2015-09-20 13:12:41 -07:00
igorkofman
c99add3bfe Merge pull request #12 from TakeshiTseng/master
Fix reference error
2015-09-20 13:12:15 -07:00
igorkofman
6dd824c7ba Merge pull request #10 from mvillis/add-animate-dependencies
added missing animate.css dependencies
2015-09-20 13:11:48 -07:00
igorkofman
1c8029d514 Merge pull request #17 from kyleconroy/kjc-s3-region
Make S3 region configurable.
2015-09-20 13:04:59 -07:00
Rachel Sanders
b06c62ce2b Copyediting DOCKER.md 2015-09-18 15:36:31 -07:00
Rachel Sanders
c5a7f69fa4 Fixing sed syntax problem 2015-09-18 15:29:36 -07:00
Rachel Sanders
1a59f89e1a Made instructions a bit clearer 2015-09-18 14:57:33 -07:00
Rachel Sanders
cfc8bd89b5 Added Docker instructions 2015-09-18 14:51:01 -07:00
Rachel Sanders
3d6dd2c1ad Added dockerfile and entrypoint 2015-09-18 14:22:17 -07:00
Rachel Sanders
feaa7a26d5 It would help to actually run the commands 2015-09-18 11:34:33 -07:00
Rachel Sanders
43d8862f8f Fixed mysql contrib script so it's scriptable 2015-09-17 12:09:02 -07:00
Kyle Conroy
57878e2979 LaTeX endpoint should be POST, not GET 2015-09-04 14:46:00 -07:00
Dan Dascalescu
5031823996 Markdownify the README 2015-08-28 15:25:24 -07:00
Kyle Conroy
e1b8de5373 Make S3 region configurable.
The region was hard-coded to us-east-1, which is a non-started for any
company not in that region.
2015-08-27 01:19:02 -07:00
Kyle Conroy
e6849d89e7 Pass the correct number of arguments to createNewAccount 2015-08-26 19:48:46 -07:00
Kyle Conroy
06ce45692d Don't add a CSP when disallowing framing.
The CSP header is already added to every request, so we don't need to
add a second policy.
2015-08-26 11:18:40 -07:00
Mono
d9e34b6bbe update run.sh to fix issue #9
in line 27 of run.sh , source "$ETHERPADDIR/bin/ooffice.sh" is getting set , but there is no oofice.sh in /etherpad/bin. this is getting setup from etherpad.properties later -so this line 27 is not needed
2015-08-24 22:14:11 -04:00
igorkofman
54a312f973 Merge pull request #11 from MonoBan/patch-1
Update run-local.sh
2015-08-24 10:44:54 -07:00
Takeshi
13b7193f58 Fix reference error
dispatch.js throws ReferenceError because it didn’t import
“etherpad.log”
2015-08-23 16:03:10 +08:00
Mono
309e77ac18 Update run-local.sh
This is to fix installing on ubuntu #6. 

MaxPermSize is causing the below issue and lowering it to 512m solved the problem.

bin/run.sh: line 27: /home/some_user/git/hackpad/bin/ooffice.sh: no such file or directory
Maximum ram: 1656M
Maximum thread count: 276
Using config file: ./etc/etherpad.local.properties
Error occurred during initialization of VM
Could not reserve enough space for object heap
2015-08-23 03:24:28 -04:00
Michael Villis
45ae92fdba added missing animate.css dependencies 2015-08-23 16:19:43 +10:00
igorkofman
eafe81f345 Merge pull request #5 from kyleconroy/remove-app-store
Remove link to iOS app store.
2015-08-21 16:26:05 -07:00
Kyle Conroy
fa551eb942 Remove link to iOS app store.
Since the application is no longer available, don't show a link to it
anywhere on the homepage.
2015-08-21 14:41:52 -07:00
igorkofman
8235d75a2f Merge pull request #2 from dropbox/improve-install-instructions
Improve install instructions
2015-08-20 09:52:00 -07:00
igorkofman
1bce96561d Merge pull request #3 from dropbox/remove-create-pad-row-from-search-autocomplete
Remove 'create pad' row from search autocomplete
2015-08-20 09:50:51 -07:00
Christopher Lin
115d7ae1b9 Remove 'create pad' row from search autocomplete
While this is intended to be a feature, I suspect people select it
accidentally more often than they do intentionally.  Selecting this row
issues a request to `/ep/pad/newpad?title=QUERY&r=POSITION`, where QUERY
is the query in the search bar and POSITION is the position of the row.
We saw this kind of URL in the request log for a user who accidentally
created a pad.  And anecdotally, I've personally selected this row by
accident.

Even if we remove this feature, it's relatively easy to create a new pad
by clicking the New Pad button, so hopefully we're not taking too much
away from users.
2015-08-20 09:18:42 -07:00
Christopher Lin
7913bf3519 [install] Add instructions for creating an account in development 2015-08-19 16:09:23 -07:00
Christopher Lin
9c42abdc84 [install] Remove lib/scala-library.jar
The bin/exports.sh script now advises developers to use the
scala-library.jar within their local installation of Scala.
2015-08-19 15:48:35 -07:00
Christopher Lin
f024292eea [install] Update default values in bin/exports.sh
We also clean up exports.sh a bit so it's easy to tell what needs
customizing for new environments vs. what is supposed to work as-is.
These are hopefully more up-to-date and reasonable defaults for a
developer on OS X, and for developers not on OS X, hopefully the cleanup
helps clarify what likely needs customization.

One of the changes to default values is to use the scala-library.jar
within the given installation of Scala, not the repo's
scala-library.jar.  I don't know much about Scala, but it seems like a
better default to make SCALA, SCALA_HOME, and SCALA_LIBRARY_JAR all
match instead of SCALA_LIBRARY_JAR being a special snowflake that's
checked into the repo.
2015-08-19 15:40:17 -07:00
igorkofman
97a14852a6 Merge pull request #1 from dropbox/dont-automatically-name-new-pads-based-on-search-query
Don't automatically name new pads based on search query
2015-08-19 15:14:09 -07:00
Christopher Lin
5f80c0009b [install] Remove etherpad/appjet-eth-dev.jar from repo
The installation process modified the jar, so it seems like this is an
artifact particular to each person's development environment, not
something that should be checked in.
2015-08-19 15:10:45 -07:00
Christopher Lin
4c8ad018f2 [install] Remove mention of libmysql-java
I think this is a reference to the mysql-connector-java library, a jar
for which is already part of the repo.  (Technically, it's bad to have
jars in repos, but we'll solve that problem another time.)
2015-08-19 15:10:25 -07:00
Christopher Lin
f71bb1d32e [install] Use Scala 2.11, not Scala 2.7
When I used Scala 2.7, I got a compiler error "not found: value math."
As far as I can tell, this is because Scala 2.7 doesn't include a
scala.math package (http://www.scala-lang.org/api/2.7.7/).  I tried
Scala 2.11.7 instead, and that worked fine.
2015-08-19 15:10:24 -07:00
Christopher Lin
582649778d Don't automatically name new pads based on search query
We observed that users frequently created new pads with titles that look
a lot like search queries.  This pollutes workspaces with empty pads.
Worse, these pads have titles optimized for search ranking since they
are named after popular queries, so search results quickly become fairly
useless.

We're not sure exactly what flow leads users to create these pads, but
we suspect that they're clicking the "new pad" button on the search
results page, which fills in a `title` query param based on the search
query.  This commit removes the auto-population of the `title` so the
new pad will be given the glorious default title of "Untitled."
2015-08-19 14:43:08 -07:00
Hackpad
b03e832c78 Improvements 2015-08-14 12:11:45 -07:00