Commit Graph

19654 Commits

Author SHA1 Message Date
Xavier Antoviaque
c24807effa vagrant: Windows - Bind node_modules to a ext4 partition for symlinks 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
2a656d0a9b vagrant: Windows - Exclude README from ws_migration
Windows doesn't differentiate between files with/without executable bit,
so this can't be used to exclude the README file from the migrations to
be executed, when the sources are accessed from a Windows partition.
2013-07-10 09:26:43 -04:00
Xavier Antoviaque
27c739bbd4 vagrant: Prevent git from altering line endings altogether 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
3364521b32 vagrant: Requirement on VirtualBox 4.2.12 for compatibility with Vagrant 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
d8c922b321 vagrant: Windows - Preserve Unix line return format, added extensions 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
5db56573d9 vagrant: Remove rvm Ubuntu package installation (triggers rvm bug) 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
055ef6e1aa vagrant: Update README (QA, link to wiki & disk space requirement) 2013-07-10 09:26:43 -04:00
Xavier Antoviaque
214734d1dc vagrant: Set $PROJECT_HOME - $BASE was set to the default path
Yarko's `$BASE` patch has been merged and rewritten since
the original pull request was created, resulting in the `$BASE` being
incorrectly set to the default `/home/vagrant/edx_all` by the new code.
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
ee4b34b6ad vagrant: Moves from /opt/edx-platform to /opt/edx/edx-platform
To allow the vagrant user to create the /opt/edx/[log|data|db] folders
2013-07-10 09:26:42 -04:00
David Baumgold
293aaedc33 Vagrant: install edx-platform under /opt
Compatibility with the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
e614d1aa6f vagrant: Normalize shell script EOL to Unix LF 2013-07-10 09:26:42 -04:00
Xavier Antoviaque
1404076732 Vagrant: Add support for Vagrant install (vagrant up)
Cf README, this adds support to install and setup a dev instance through
Vagrant. The Vagrantfile at the root handles the vagrant commands like
`vagrant up`.

Provisioning is done by the shell script `vagrant-provisionning.sh`,
which is a light wrapper around the `create-dev-setup.sh` which does
most of the job using the standard process, but limiting possible
side-effect by ensuring the environment on which the install is
performed is clean.

Based on an Ubuntu precise 12.04 LTS.
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
947908e028 Install: Fix install script freeze (syncdb superuser account creation)
Since the output is passed through tee, when the django admin asks the
user if he would like to create a super user account, it blocks the
install, without even showing the question.

Disabled interactivity for syncdb.
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
9971c799b2 Install: Make apt-get and mkvirtualenv output log friendly
Added options to make the output of `apt-get` and `mkvirtualenv`
friendlier to getting logged. This allows to be more easily recorded in
log files or when the install is performed through utilities - like
Vagrant.
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
52c9a53485 Install: Make curl options more consistent, add logging of errors
The options passed to curl were not always the same - added logging of
error (-S) everywhere (was only used for Mac before) and made it quiet
in the rare few cases where it wasn't yet (-s).
2013-07-10 09:26:42 -04:00
Xavier Antoviaque
6e376fa76d Install: Improves ruby/rvm install - Directly install the right version
The script used to download the latest version of ruby through rvm, then
later on install the one used by the project. Now we directly download
the version of the project when rvm is installed.
2013-07-10 09:25:50 -04:00
Xavier Antoviaque
7a95c37442 Install: Options "-q" (quiet), "-n" (no pull), "-y" (non interactive)
Added several options to the `create-dev-env.sh` script to improve its
ability to be used by another script:

* -y -- non interactive mode (no prompt, proceed immediately)
* -n -- do not attempt to pull edx-platform
* -q -- be more quiet (removes info at beginning & end)

This will be used, in particular, for Vagrant provisioning.
2013-07-10 09:25:49 -04:00
Xavier Antoviaque
ba8c2999c4 Install: Fix use of DEBIAN_FRONTEND - sudo clears environment
Before executing a command, for security reasons `sudo` clears the
environment, so the value of DEBIAN_FRONTEND was never passed to
apt-get. This was causing the mysql packqge to still prompt for
a value interactively.
2013-07-10 09:25:49 -04:00
David Baumgold
3a11ab2663 Changelog: Sass, Bourbon, Neat 2013-07-10 09:18:19 -04:00
Frances Botsford
a0962cc3b9 updated sass transitions to use newer bourbon syntax 2013-07-10 09:18:00 -04:00
Frances Botsford
3748cae7b8 updated broken transition sass rule 2013-07-10 09:18:00 -04:00
Brian Talbot
a09866a48f Studio: refining timing variable comment in Sass 2013-07-10 09:18:00 -04:00
Brian Talbot
c10fc54509 Studio: abstracts and formalizes set animation/transition Sass variables 2013-07-10 09:17:59 -04:00
Brian Talbot
d046fdf743 resolves local Sass warnings/errors around missing mixins referenced in xmodule styling 2013-07-10 09:17:59 -04:00
Brian Talbot
b97c1bf5e3 Studio: corrects Sass @extend references 2013-07-10 09:17:59 -04:00
Frances Botsford
4187090dac removed non-existent sass extends from LMS: .table-wrapper, .dullify, .trans, .problem-set 2013-07-10 09:17:59 -04:00
Brian Talbot
41d9fa3785 Studio: syncs up syntax, ordering, and timing for all Sass transition mixins 2013-07-10 09:17:59 -04:00
Brian Talbot
ed93fcb89a Studio: adds back in transform-origin prop to dropdown nav icons 2013-07-10 09:17:59 -04:00
Brian Talbot
ee481dfdb5 Studio: resolves notification animation placement error 2013-07-10 09:17:59 -04:00
Brian Talbot
f708c42ec6 Studio: revises anim syntax, adds utility anims, and revises rotate transitions for nav 2013-07-10 09:17:59 -04:00
Brian Talbot
4a0a067327 Studio: revises syntax of calling preset animations for notifications 2013-07-10 09:17:59 -04:00
Brian Talbot
b42074716b Studio: updates keyframes/animations syntax for all animations 2013-07-10 09:17:58 -04:00
David Baumgold
40585b2bbb Added neat grid framework
http://neat.bourbon.io/
2013-07-10 09:17:58 -04:00
David Baumgold
27796219c7 Changed @include background-size() to background-size
Bourbon's background-size mixin has been deprecated, and they recommend to use the
official spec.
2013-07-10 09:17:58 -04:00
David Baumgold
5bd79a8669 Changed @include box-shadow() to box-shadow
Bourbon's box-shadow mixin has been deprecated, and they recommend to use the
official spec.
2013-07-10 09:17:58 -04:00
David Baumgold
41374838cb Changed @include border-radius() to border-radius
The official border-radius mixins were deprecated and removed in Bourbon 3.0.
https://github.com/thoughtbot/bourbon/pull/95
2013-07-10 09:17:58 -04:00
David Baumgold
1388684194 Sass 3.2.9, Bourbon 3.1.8 2013-07-10 09:17:58 -04:00
Calen Pennington
dcaed88cb2 Merge pull request #313 from edx/cale/use-super-for-calling-parent-__init__-methods
Use super for calling parent __init__ methods
2013-07-10 06:17:41 -07:00
David Baumgold
3b1182b462 Merge pull request #332 from edx/db/rake-pylint
Refactor rake tasks for pylint/pep8
2013-07-10 06:12:16 -07:00
David Baumgold
2eb89d0501 Merge pull request #221 from edx/pdf-textbooks
PDF textbooks in Studio
2013-07-10 06:11:55 -07:00
James Tauber
bd37230f08 Merge pull request #360 from edx/jtauber/license-change
clarify LICENSE
2013-07-09 23:19:24 -07:00
David Baumgold
7bf2b1e316 Re-add pylint task dependencies 2013-07-09 21:47:07 -04:00
Brian Talbot
cef33bf285 Studio: updates shame file with related future maintenance work 2013-07-09 19:16:44 -04:00
Frances Botsford
6814163a45 cleanup and tweaks from feeback to PDF Textbooks FED and Sass 2013-07-09 19:16:44 -04:00
Brian Talbot
b9e7e992b5 Studio: revises subtitle of Textbooks view to be consistent with others 2013-07-09 19:16:44 -04:00
David Baumgold
17bef565f1 Added another test 2013-07-09 19:16:44 -04:00
David Baumgold
4155f9fe8c Removed unused user_author_string function 2013-07-09 19:16:44 -04:00
David Baumgold
359cbbb4d9 Fixing up ui_helpers based on feedback from Christina 2013-07-09 19:16:44 -04:00
David Baumgold
437e658f98 pylint fixes 2013-07-09 19:16:44 -04:00
David Baumgold
1a0d6d21bb Forgot to call show() on saving notification 2013-07-09 19:16:43 -04:00