Giter VIP home page Giter VIP logo

mediatum's Introduction

mediaTUM - Python Document Server

mediaTUM is an open source software product for large scale image, document and video archiving and retrieval written in Python. For more information and contributions contact us.

Developers

  • mediaTUM development team @ Technische Universität München
  • external contributors

License

All mediaTUM software is licensed under the GNU General Public License 3. You can redistribute it and/or modify it under the terms of the GPL 3 as published by the Free Software Foundation.

Documentation

The documentation has its own repository at https://github.com/mediatum/mediatum-docs Browseable version at https://mediatum.readthedocs.org

Quick Installation In Three Steps

This should work on all Linux distributions, possibly also on MacOS. You need the Nix package manager (version > 1.8) to run this. On non-NixOS machines, about 1,5GB disk space is required. On NixOS, about 1GB is required.

  1. Clone the repository: git clone https://github.com/mediatum/mediatum
  2. Go to the mediatum directory: cd mediatum
  3. Run mediaTUM: ./mediatum.py --force-test-db

The last line in the output should say Athana HTTP Server started at http://0.0.0.0:8081. You can visit http://localhost:8081 now. Default login is admin with password insecure.

The last step downloads all missing dependencies, it may take some minutes on the first run. Dependencies are installed to /nix/store. By default, database, upload and log files are written to $HOME/mediatum_data.

See INSTALL.md for more details on installation and usage.

mediatum's People

Contributors

adarrohn avatar aopy avatar arneseifert avatar beachmachine avatar czam-tum avatar dpausp avatar mediatum-kelahr avatar wboigertu avatar wneudenberger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mediatum's Issues

Cannot rename a new folder if the English language is selected

How to reproduce:

  • Select the English site version
  • Create a new folder somewhere in the mediaTUM tree
  • Right-click and rename it
  • Enter a new name in the first field (Folder name)
  • Click on Save.
  • 💥 Nothing happens; after page reload, the folder is still named New folder

Now change the language to German and repeat the steps above. The folder is renamed sucessfully.

Tested in Chromium 55.0.2883.87 and Pale Moon 27.0.3 (x64) running on Ubuntu 16.04.

ORCiD data exchange

Hi, it would be helpful if mediatum could

  1. update ORCiD entries
  2. fetch selectively(!) data from ORCiD

Can't login with default setup

I just followed the Quick Test Installation In Three Steps but can not login with the provided credentials (admin - insecure), although the log says:

2017-01-14 16:36:21,937 [23735/Dummy-2] core.auth INFO | internal auth succeeded for login name admin
2017-01-14 16:36:21,938 [23735/Dummy-2] web.frontend.login INFO | admin logged in

The problem seems to be, that the cookie is secure, but the server is plaintext. I just fixed it by changing the default:

diff --git a/core/athana.py b/core/athana.py
index cb55ecc..5ca0e0d 100644
--- a/core/athana.py
+++ b/core/athana.py
@@ -1050,7 +1050,7 @@ class http_request(object):
             close_it = 1
 
         if self.session and "PSESSION" not in self.Cookies:
-            self.setCookie('PSESSION', self.sessionid, path="/", secure=config.getboolean("host.ssl", True))
+            self.setCookie('PSESSION', self.sessionid, path="/", secure=config.getboolean("host.ssl", False))
             
         if "Cache-Control" not in self.reply_headers or not config.getboolean("athana.allow_cache_header", False):
             self.reply_headers["Cache-Control"] = "no-cache"

Copying the config as said in INSTALL.md also does not fix the problem as there is no default value for host.ssl in mediatum.cfg.template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.