Grzegorz Bizon
66b0927bb5
Move build artifacts javascripts into separate file
2016-01-21 15:51:44 +01:00
Grzegorz Bizon
e5232ccc1e
Do not use progress bar when downloading build artifacts
...
Closes #12491
2016-01-21 15:06:32 +01:00
Grzegorz Bizon
6d09338f88
Remove Compressed to
column from build artifacts browser
...
See #10982 .
2016-01-20 08:51:34 +01:00
Grzegorz Bizon
19608d3ee0
Fix double request issue in artifacts browser
2016-01-19 13:32:28 +01:00
Grzegorz Bizon
13f0ea12e3
Improve ux in builds artifacts browser
2016-01-18 19:58:16 +01:00
Grzegorz Bizon
be764a3a20
Minor improvements in build arfifacts browser
...
Added also a `Gitlab::Ci::Build::Artifacts::Metadata::ParserError`
exception class.
2016-01-14 12:48:17 +01:00
Grzegorz Bizon
6b0a43aff3
Improve readability of artifacts browser Entry
related code
2016-01-14 12:48:17 +01:00
Grzegorz Bizon
6d7a77074f
Add specs for endpoint meant to be accelerated by workhorse
2016-01-14 12:48:16 +01:00
Grzegorz Bizon
94cf759001
Attach download action to artifacts file in ZIP archive
2016-01-14 12:48:16 +01:00
Grzegorz Bizon
387b27813d
Change format of artifacts metadata from text to binary 0.0.1
...
This changes the format of metadata to handle paths, that may contain
whitespace characters, new line characters and non-UTF-8 characters.
Now those paths along with metadata in JSON format are stored as
length-prefixed strings (uint32 prefix).
Metadata file has a custom format:
1. First string field is metadata version field (string)
2. Second string field is metadata errors field (JSON strong)
3. All subsequent fields is pair of path (string) and path metadata
in JSON format.
Path's metadata contains all fields that where possible to extract from
ZIP archive like date of modification, CRC, compressed size,
uncompressed size and comment.
2016-01-14 12:48:15 +01:00
Grzegorz Bizon
1b1793c253
Show file size in artifacts browser using metadata
2016-01-14 12:48:15 +01:00
Grzegorz Bizon
ebd69c5fc1
Remove artifacts metadata column from database
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
b19e958d86
Add support for parent directories in StringPath
...
This support is not completed though, as parent directory that is first
in collection returned by `directories!` is not iterable yet.
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
aae674c3a2
Improve CI build artifacts browser view
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
5a1faf61f6
Add artifacts browser
...
This implementation makes it possible to browse artifacts, it
depends on artifacts metadata.
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
f091272f19
Move artifacts controller level up
...
This reverts nesting artifacts controller in builds module.
2016-01-14 12:48:12 +01:00