Commit 01b56964 authored by Jaime L Magiera's avatar Jaime L Magiera
Browse files

fresh omeka-s folder

parent ef74ef57
SetEnv APPLICATION_ENV "development"
RewriteEngine On
# The following rule tells Apache that if the requested filename
# exists, simply serve it.
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule !\.(php[0-9]?|phtml|phps)$ - [NC,C]
RewriteRule !(?:^|/)\.(?!well-known(?:/.*)?$) - [C]
RewriteRule .* - [L]
# Strip any trailing slashes from incoming requests
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(.+)/+$
RewriteRule .* %1 [R=307,L]
# The following rewrites all other queries to index.php. The
# condition ensures that if you are using Apache aliases to do
# mass virtual hosting, the base path will be prepended to
# allow proper resolution of the index.php file; it will work
# in non-aliased environments as well, providing a safe, one-size
# fits all solution.
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteCond %{ENV:REDIRECT_OMEKA_REQ} !"1"
RewriteRule ^(.*)$ %{ENV:BASE}/index.php [E=OMEKA_REQ:"1",L]
# Block access to all .ini files.
<FilesMatch "\.ini$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order Allow,Deny
Deny from all
</IfModule>
</FilesMatch>
This diff is collapsed.
# Omeka S
Omeka S is a web publication system for universities, galleries, libraries,
archives, and museums. It consists of a local network of independently curated
exhibits sharing a collaboratively built pool of items, media, and their metadata.
See the [user manual](https://omeka.org/s/docs/user-manual) for more information.
## Installation
### Requirements
* Linux
* Apache (with [AllowOverride](https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride) set to "All" and [mod_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) enabled)
* MySQL 5.6.4+ (or MariaDB 10.0.5+)
* PHP 7.1+ (latest stable version preferred, with [PDO](http://php.net/manual/en/intro.pdo.php), [pdo_mysql](http://php.net/manual/en/ref.pdo-mysql.php), and [xml](http://php.net/manual/en/intro.xml.php) extensions installed)
### Gotchas
* The default library for generating thumbnails is ImageMagick, at least version
6.7.5. Older versions will not correctly produce thumbnails. See local.config.php
options in the [documentation](https://omeka.org/s/docs/user-manual/configuration/).
### Installing from GitHub
1. Make sure [Node.js](https://nodejs.org/) and [npm](https://nodejs.org/) are installed
1. Clone this repository in your Apache web directory:
* `$ git clone https://github.com/omeka/omeka-s.git`
1. Change into the Omeka S directory:
* `$ cd omeka-s`
1. Perform first-time setup:
* `$ npm install`
* `$ npx gulp init`
1. Open `config/database.ini` and add your MySQL username, password, database
name, and host name. The user and database must be created before this step.
1. Make sure the `files/` directory is writable by Apache.
1. In your web browser, navigate to the omeka-s directory, where you can
complete installation.
### Installing from released zip file
1. Download the latest release from the [release page](https://github.com/omeka/omeka-s/releases)
1. Open `config/database.ini` and add your MySQL username, password, database
name, and host name. The user and database must be created before this step.
1. Make sure the `files/` directory is writable by Apache.
1. In your web browser, navigate to the omeka-s directory, where you can
complete installation.
You can find Omeka-specific code under `application/`.
## Updating
*Make a backup copy of your entire site and its database!*
### Updating from GitHub
1. `git pull` as usual. Use the `master` branch for the latest releases.
2. From the Omeka S root directory, run `gulp deps` to make sure dependencies are up to date.
3. Compare changes in `/config/local.config.php` and `/config/local.config.php.dist`. Some default configurations might have changed, so you might need to reconcile changes to the distributed configuration with your local configuration (e.g., a path to PHP specific to your server, dev mode settings, etc.)
4. In your web browser, go to your site and run any migrations that are needed.
### Updating from released zip file
1. Download the latest release from the [release page](https://github.com/omeka/omeka-s/releases)
2. Make a copy of your `/config` directory. You will need to restore your `local.config.php` and `database.ini` files from that copy.
3. Make a copy of your `/modules` and `/themes` directories.
4. Make a copy of your `/files` directory.
5. Remove all Omeka S files, and replace them with the files from the updated zip file.
6. Replace your original `/config/local.config.php` file, and the `/modules`, `/themes`, and `/files` directories that you copied.
7. In your web browser, go to your site and run any migrations that are needed.
## Creating a zipped release
`gulp zip` will create a zipped version of Omeka S and store it in `/build`. Use the `--no-dev` flag to omit Composer
dev dependencies for a smaller package suitable for end-users. Official releases follow this same process from a
new, clean checkout.
## Libraries
Omeka uses the following libraries, among others:
* [Zend Framework 3](http://framework.zend.com/)
* [Doctrine 2](http://www.doctrine-project.org/)
* [EasyRdf](http://www.easyrdf.org/)
* [PHPUnit](https://phpunit.de/)
* [jQuery](http://jquery.com/)
## Coding Standards
Omeka development adheres to the [Zend Framework 2 Coding Standards](https://zf2-docs.readthedocs.org/en/latest/ref/coding.standard.html)
and uses the [git-flow](http://nvie.com/posts/a-successful-git-branching-model/) branching model.
© 2013-2016 [Roy Rosenzweig Center for History and New Media](http://chnm.gmu.edu/), 2016-present [Corporation for Digital Scholarship](http://digitalscholar.org/)
This diff is collapsed.
#advanced-search .value{margin-bottom:0;display:flex}#advanced-search .value select,#advanced-search .value input{margin-left:5px;min-width:0}#advanced-search .value>*{margin-top:0}#advanced-search .value select:first-child,#advanced-search .value input:first-child,#advanced-search #property-queries .value:first-child select:nth-child(2){margin-left:0}#advanced-search .multi-value .value:first-child .joiner{display:none}#advanced-search #property-queries .joiner{width:initial;min-width:initial}#advanced-search #property-queries .query-text:disabled{display:none}#advanced-search .add-value{margin-bottom:0}
.asset .confirm-delete {
background-color: #A91919;
color: #fff;
box-shadow: none;
width: 100%;
}
.asset .actions {
float: right;
}
This diff is collapsed.
.jstree-container-ul{margin:0}.jstree-container-ul,.jstree-container-ul ul{list-style-type:none}.jstree-children{padding-left:36px}.jstree-container-ul,.jstree-container-ul>li{padding-left:0}.jstree-node{position:relative}.jstree-anchor{width:100%;background-color:rgba(0,0,0,0.04);padding:6px;position:relative;margin-bottom:6px;display:block;margin:6px 0 0}.jstree-editlink-container{display:none;padding:11px;border:1px solid rgba(0,0,0,0.04);overflow:hidden;line-height:36px;font-weight:bold}.jstree-editlink-container input,.jstree-editlink-container textarea,.jstree-editlink-container select{float:right;width:70%;font-weight:normal}.jstree-editlink-container label{display:block}.jstree-editlink-container label:not(:last-child){margin-bottom:6px}.jstree-hovered,.jstree-clicked{background-color:rgba(0,0,0,0.12)}i.jstree-icon{font-style:normal;position:absolute;right:12px;top:0}.jstree-icon:before{font-family:"Font Awesome 5 Free"}.jstree-open,.jstree-closed{position:relative}.jstree-open>.jstree-ocl,.jstree-closed>.jstree-ocl,.jstree-removenode-remove,.jstree-removenode-undo,.jstree-editlink-edit,.jstree-displaylink{width:24px;height:36px;line-height:36px;background-color:rgba(0,0,0,0.2);text-align:right;cursor:pointer;z-index:1}.jstree-open>.jstree-ocl,.jstree-closed>.jstree-ocl{width:36px;right:0;text-align:center}i.jstree-icon.jstree-ok,i.jstree-icon.jstree-er{left:100%;width:36px;height:36px;line-height:36px;background-color:rgba(0,0,0,0.12);text-align:center}.jstree-removenode-remove,.jstree-removenode-undo,.jstree-editlink-edit,.jstree-displaylink{background-color:transparent;opacity:.5}.jstree-removenode-remove:hover,.jstree-removenode-undo:hover,.jstree-editlink-edit:hover,.jstree-displaylink:hover{opacity:1}.jstree-open>.jstree-anchor .jstree-removenode-remove,.jstree-closed>.jstree-anchor .jstree-removenode-remove,.jstree-open>.jstree-anchor .jstree-removenode-undo,.jstree-closed>.jstree-anchor .jstree-removenode-undo{right:48px}.jstree-open>.jstree-anchor .jstree-editlink-edit,.jstree-closed>.jstree-anchor .jstree-editlink-edit{right:72px}i.jstree-editlink-edit{right:36px}.jstree-open>.jstree-anchor .jstree-displaylink,.jstree-closed>.jstree-anchor .jstree-displaylink{right:96px}i.jstree-displaylink{right:60px}.jstree-anchor:hover>.jstree-removenode-remove{display:block}.jstree-open>.jstree-ocl:before{content:"\f0d7"}.jstree-closed>.jstree-ocl:before{content:"\f0da"}.jstree-ok:before{content:"\f00c"}.jstree-er:before{content:"\f00d"}.jstree-removenode-remove:before{content:"\f2ed"}.jstree-removenode-undo:before{content:"\f0e2"}.jstree-editlink-edit:before{content:"\f303"}.jstree-displaylink:before{content:"\f35d"}.jstree-removenode-removed .jstree-anchor{background-color:#ffcccc}.jstree-removenode-removed .jstree-children .jstree-removenode-remove,.jstree-removenode-removed .jstree-children .jstree-removenode-undo{display:none}.jstree-removenode-removed.jstree-open>.jstree-ocl,.jstree-removenode-removed.jstree-closed>.jstree-ocl{background-color:rgba(255,0,0,0.24)}.jstree-editlink-editmode>.jstree-anchor .jstree-editlink-edit{opacity:.35}#jstree-marker{position:absolute;top:0;left:0;margin:-5px 0 0 0;padding:0;border-right:0;border-top:5px solid rgba(0,0,0,0);border-bottom:5px solid rgba(0,0,0,0);border-left:5px solid;width:0;height:0;font-size:0;line-height:0}#jstree-dnd{z-index:1;padding:6px 12px;background-color:rgba(0,0,0,0.04);line-height:24px}
.item-showcase{margin:1rem 0;border-top:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf;padding:calc(1rem - 1px) 0 0;overflow:hidden;text-align:center;clear:both;display:flex;flex-wrap:wrap;justify-content:center}.item.resource .caption{font-size:.875rem;line-height:1.5rem}.item.resource .caption *{margin:0 0 1rem 0}.item.resource .caption>*:last-child{margin-bottom:0}.item-showcase .resource.item{vertical-align:top;margin-bottom:1rem}.item-showcase .resource.item img{margin-right:.5rem;max-width:100%}.item-showcase .resource.item:only-child img{margin:0 auto}.item-showcase .resource.item:not(:only-child){width:25%;clear:none;padding:0 .5rem}.item-showcase .resource.item:not(:only-child) h3{clear:left;font-size:1rem;line-height:1.5rem;margin:.5rem 0 0}.item-showcase .resource.item:not(:only-child) img{max-height:7rem;width:auto;float:none;margin-right:0;vertical-align:top}.right,.left{overflow:hidden;max-width:33.33%}.left .item.resource,.right .item.resource{margin:0 0 1rem 0}.left .item.resource:first-of-type,.right .item.resource:first-of-type{padding-top:calc(1rem - 1px);margin-top:0}.left .item.resource:last-of-type,.right .item.resource:last-of-type{padding-bottom:-1px}.left .item.resource .media-render a,.right .item.resource .media-render a{display:block}.left .item.resource audio,.left .item.resource canvas,.left .item.resource video,.left .item.resource progress,.left .item.resource img,.right .item.resource audio,.right .item.resource canvas,.right .item.resource video,.right .item.resource progress,.right .item.resource img{max-width:100%;vertical-align:bottom;margin-bottom:.5rem}.file{border-top:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf;margin-top:1rem;margin-bottom:1rem}.left.file{float:left;clear:left;margin:0 1rem 1rem 0}.right.file{float:right;clear:right;margin:0 0 1rem 1rem}.center.file{display:flex;justify-content:center;flex-wrap:wrap;text-align:center}.center.file .item{width:100%}.left .item.resource>a:first-child,.right .item.resource>a:first-child{vertical-align:top}.medium .item.resource>h3,.square .item.resource>h3{font-size:16px;line-height:1.5rem}.left .item.resource>h3,.right .item.resource>h3{margin:0}.left .item.resource+p,.right .item.resource+p{margin-top:0}.break{width:100%;clear:both;border-bottom:1px solid #dfdfdf;padding-bottom:-1px;margin:1rem 0}.break.transparent{border-color:transparent}.break.opaque{border-color:#dfdfdf}.preview-block{margin:1rem 0;overflow:hidden;width:100%;clear:both}.toc-block>ul{margin:1rem 0;list-style-type:none;border-left:5px solid #dfdfdf}.toc-block>ul>li{margin-bottom:.5rem}.toc-block>ul>li>a{font-weight:bold}.toc-block ul ul{list-style-type:none;padding-left:0}.toc-block ul ul ul{padding-left:1.25em}.toc-block ul ul li:before{content:"\2014";color:#dfdfdf}.item-with-metadata{width:100%;overflow:hidden;margin:1rem 0}.item-with-metadata .show.resource{margin:2rem 0}.list-of-sites .site-list .site{margin-bottom:.5rem}.list-of-sites .site-list .site-link{display:inline-block;font-size:1.25rem;margin-bottom:.25rem}.list-of-sites .site-list .site-summary{margin:0 0 0 .5rem;line-height:20px}
This diff is collapsed.
#user-bar{font-family:"Lato", sans-serif;font-size:16px;line-height:24px;color:#fff;background-color:#404E61;padding:6px 24px;display:flex;justify-content:space-between}#user-bar .admin:not(:last-child):after{content:"\2022";margin:0 12px}#user-bar a{color:#bdcde3;background-color:transparent}#user-bar .logout,#user-bar .login{font-size:12px;padding:0 6px;background-color:#222933;border-radius:3px;display:inline-block;text-align:center;margin-left:12px}#user-bar .login{margin-left:auto}#user-bar .o-icon-edit{margin-left:12px}
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="41.692px" height="89.274px" viewBox="939.154 495.363 41.692 89.274"
enable-background="new 939.154 495.363 41.692 89.274" xml:space="preserve">
<g>
<polygon fill="#676767" points="960,495.363 980.846,530.637 939.154,530.637 "/>
</g>
<polygon fill="#676767" points="960,584.637 939.154,549.363 980.846,549.363 "/>
</svg>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment