History log of /ontohub/app/controllers/files_controller.rb
Revision Date Author Comments Expand
4e0724b6358960a5e8394dbfd6e0c2d15a6061d5 14-Aug-2016 Eugen Kuksa <kuksa.eugen@gmail.com>

1458 loc ids are not used everywhere (#1746) * Use Loc/Ids for ontologies#edit. * Use Loc/Ids for proving. * Use Loc/Id for retry button. * Fix spec.

78b69b71ee6bb1b213a2af7a2daec9e2e16052ef 19-May-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add controller action and route to delete a file.

f25585170335aa8c73dc2775edb44979bbfb9116 28-Feb-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Revert "Use active scope for retrieving repositories." This reverts commit d053813dcf22b74cded34daf5734e54388e9bee6. Conflicts: app/controllers/home_controller.rb app/controllers/ontology_search_controller.rb app/helpers/application_helper.rb app/models/repository/destroying.rb

c28fc8aa2cdf7f9c9ae76899354350473d155981 28-Feb-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use active scope for retrieving repositories. I could have introduced a default scope, but this would result in broken migrations: Some migrations change existing repositories. They would fail at selecting repositories because there is no column 'destroying'. Also default scopes cannot be overridden.

995120a790fbe40d1fde3a69c81a0954b159bb67 23-Sep-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

remove diff action from files controller

4e449617be908ec2af2d15bdecc72002a2dd2c8a 23-Sep-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

split diff per file

90f9fe34cbbb04b483cfe71b94ae63317fcfee7c 25-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

split history action off of files controller

46c38bae0b97f6c470beb0c897ad6c530c4c9e0e 08-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

use resource_class in FilesController

7a771e3ff4b1a608c4e9031cfb1a225f633f4d33 02-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

remove collection method

98b9960f41930ff0b0b683da418d352d82100c3e 02-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

remove unnecessary comment

287c635762a6d32ead332084a0ba2cbbd3e9c055 02-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

rename files action to show

afd1d888784385307c9c0544597a513c2008d342 02-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

adjust tests, fix implementation

a847d9812b328c048773e705606b10875a929034 02-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Improve routing Only routes for existing files and ontologies are considered.

f4b865988759de2bcc51ffd55897191c74e53ba2 02-Jul-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Refactor files action of FilesController Make use of RepositoryFile and GitFile. Use InheritedResources for FilesController and simplify files action (will be renamed later).

556d9e007120cfbfbb79070544b4928f26bfa0eb 24-Jun-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

rename find_with[base]path: drop 'find_'

f71e3ce3df2d0be4d547dd6f5bc4f150727098e0 19-May-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix files controller's ontology query

823b204d13c129df1ae3b49ff62ee1da0c8f6b63 17-May-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Move filepath from ontology to ontology_version

56e87b2c404485417ebd7ea1a265c7b5cee720be 13-Apr-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Improve OWL API request header check Now, we use accept header ordering computed by rails. As long as the q-values don't change, in their ordering, we have more robust code now. This code is about to be deleted/reverted together with 0a4106958a2950ecde156cacae0e9702dc819867.

bcd70d5813eaaf0f3804b4a1175db5a1c537fed1 13-Apr-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

use proper http accept record

bfd86643a66a1af0b569afd8e8e80e95b6efffa0 13-Apr-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

improve decision for html or plain text sending of file

9a85fb6390203b5e202dcc2a9d7e10ad3896096d 09-Apr-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix file edit according to spec

7cd71217c596c089863d3ba025712a44452b507c 02-Apr-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add edit ontology file functionality

0a4106958a2950ecde156cacae0e9702dc819867 29-Mar-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Force download file on OWL API HTTP accept headers Temporarily fixes #783. The OWL tools somehow make two different HTTP requests. One type has the accept header "application/rdf+xml, application/xml; q=0.5, text/xml; q=0.3, */*; q=0.2" while the other type has the accept header "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2". However, they both are used to get the exact same .owl file. This commit is about to be reverted as soon as the OWL tools send consistent request headers.

f7e2019208dbaed95441b6ba9cd6b5457c84ce76 23-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix #524

062f7ff771bc802330a3a43999cc5f568882a973 20-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix files controller merge error

a4707bb77f9894e31b9e5b924c34e0095681cfe3 20-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

redirect to ontology edit page when uploading an ontology

21fe9b58ece065c09fd4507c73e5108e977027fe 08-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix little errors

51151d658dd3b3ccbef1e5aa45aa98af14b5c1a9 08-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

authorize files controller

c2373562f73b6acd4b8fd31745458b78c257ea15 08-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

finish #458

5dc06252a9d703f54c5ae03b9e36320ef552c047 08-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

move dirpath to helper

cffc92f13f7dabf3958b39ace4edec5b41001b78 07-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

make controller tests pass

6f8cf80de7bef698279a19bd5063c954743f3444 07-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

finish upload, should fix #458

baf59cbea7efc39e88a816e551f29c44c5c5ebf9 06-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

merge with 460

2911e63768f8ef8e57e6a8ba85f8a0016b4a5c2e 06-Dec-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

remove unneeded fixme comment - already fixed by before filter

2bc712ddf61be106ec55dd3d7e06ecabadabce4d 26-Nov-2013 Tim Reddehase <robustus@rightsrestricted.com>

use do-child, when provided, for custom routing.

21bd039d8d5c1a95d49c9bf5da28b8f8ee0e5a53 15-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add links from file history to ontology versions

c7d79ca10e68694762751ce9f5e30da2fb9840d6 15-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add download action to files controller

3f3c89b39275681410adc838a9eca053d8a31d2c 15-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

refactor files controller

dc8695dce123024980760867008d5c911adbfb1e 15-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix history of directory error

b4f582f042a6d81d33b29480ba7b6522bb74fa0d 14-Nov-2013 henning mueller <henning@orgizm.net>

Save some characters (aka. cosmetics).

21429036acbcc2f51ef24fc38b78c85a3ab2f6c3 11-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add "history of this file/directory" link to the views

286e1b14f4482dde87722702bb5ab857f7470b0c 10-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

change history pagination to kaminari

9e3da44db694ada292d9021ae77cfa723c922e13 09-Nov-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add basic pagination to repository history (#365)

cb1722acb7c88bf86b75db84c86636197d36697e 27-Oct-2013 henning mueller <henning@orgizm.net>

Fixed a funny bug on request of ontologies by their short URL.

bf15c83dfd78107107d529312d7fe73ff358c3f6 27-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

rename File.real_basepath to File.basepath

16967c96123e6fa29540b72b2d78bf65a100b8ee 27-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

show all ontologies to a file in file and directory view

28c62a48f3ecfd2a6a44552bf9bac888fae7a6a5 24-Oct-2013 henning mueller <henning@orgizm.net>

Removed @content_kind.

1463ab1621685827ce58b70f91c9a2f1aa6de9c1 18-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add commit message and headers to diff view

ef7fc62b77660329e444a7a5ff21892bd909931b 18-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix #292

a19a3eccc6e591318091d898ef6a3cfa33610f97 15-Oct-2013 Daniel Couto Vale <danielvale@uni-bremen.de>

Show selected repository tab in repository pages

7c71503c44dae486cfd7102acdf4df09a781b8eb 11-Oct-2013 Daniel Couto Vale <danielvale@uni-bremen.de>

Select repositories tab when looking at a repository

35dbb3deecd45db072d6b3634c9eae379e1abafb 11-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix ontology link error

5638f050d3d998b69dbdcd69f757efff63880950 10-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

refactor: use method instead for instance variable

391f72f778a8c9e1cbaed1860f4a4754d6881c8a 09-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

fix most tests

0a19ed12e51e3aba6ad5fd1543a6fb3aeb3dd7e9 07-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

change implementation to use hash-based signature of git_repo.commits

94125df6fe7643433ea13d9cbda574cc38c36628 04-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

add support for routing according to #172.

e8ceec219830407bded84634716d37d45d3a5872 02-Oct-2013 Julian Kornberger <juliank@tzi.de>

specs for FilesController

07f61751814bfc5b08a6641c744dd664430bda5a 02-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

change link in files view

ebfa230ca7682c1c251d6ab456497b1bcbae32a4 01-Oct-2013 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

redirect to ontology view

9cfb01db247ca04bb4b5b337bbd77c66b7150e53 01-Oct-2013 Julian Kornberger <juliank@tzi.de>

Tests fixed and refactored

application_controller.rb files_controller.rb path_helpers.rb repositories_controller.rb /ontohub/app/helpers/navigation_helper.rb /ontohub/app/helpers/repository_helper.rb /ontohub/app/models/ontology.rb /ontohub/app/models/ontology_version/parsing.rb /ontohub/app/models/repository/validations.rb /ontohub/app/models/upload_file.rb /ontohub/app/views/files/_commit.html.haml /ontohub/app/views/files/_files_dir.html.haml /ontohub/app/views/files/_files_file.html.haml /ontohub/app/views/files/_files_file_base_ambiguous.html.haml /ontohub/app/views/files/_history_commit_group.html.haml /ontohub/app/views/files/diff.html.haml /ontohub/app/views/files/files.html.haml /ontohub/app/views/files/history.html.haml /ontohub/app/views/files/new.html.haml /ontohub/app/views/repositories/files.html.haml /ontohub/config/routes.rb /ontohub/lib/git_repository.rb /ontohub/lib/git_repository/cloning.rb /ontohub/test/integration/comments_test.rb /ontohub/test/integration/permissions_test.rb /ontohub/test/unit/ability_test.rb