Skip to content

Releases: patrikx3/gitlist

Minor typo on the next/older commit page

04 Jul 10:35
Compare
Choose a tag to compare
2.8.56-862

p3x-robot sunday release 7/1/2018, 8:04:57 PM

Synched to klaussilveira/gitlist today

01 Jul 18:02
Compare
Choose a tag to compare
2.8.52-855

p3x-robot sunday release 7/1/2018, 12:51:49 PM

Added twemoji to the commits list

01 Jul 16:53
Compare
Choose a tag to compare
2.8.48-849

p3x-robot sunday release 7/1/2018, 12:51:49 PM

Memory limit

24 May 15:31
Compare
Choose a tag to compare

Before, with twig, it was using a huge commit about 600MB (PHP).

Now, it works with 64MB (PHP) and huge diffs (like 9000 lines), it loads a chunk of 256 lines at max, then the rest is with setTimeout with line by line, so there is no blocking in the GUI at all. Maybe slower, but never blocking.

If you toggle the diff button (show/hide), it will pause rendering and it will only continue the long diff if it shows.

https://gitlist.patrikx3.com/gitlist.git/commit/f1e4d5b938c8f1a6cd178aeea2e9e86111ea5323#p3x-gitlist-diff-93

Chore

23 May 09:25
Compare
Choose a tag to compare
2.8.7-806

p3x-robot sunday release 2018-5-23 02:20:36

Deffered loading and rendering diffs.

23 May 00:10
Compare
Choose a tag to compare

PHP Memory

By now, I am loading the diffs via AJAX. I render in the browser the diffs even deffered. For a huge commit twig rendered the PHP using over 512MB, now it works with 128MB. The browser does not hang anymore.

This what it was before ...

It is possible, that some big commits are huge and for now, it loads everything. In V3, everything will be lazy, but looks like I had a huge commit and I had to set my PHP.ini had to change like:

max_execution_time = 240
max_input_time = 240
memory_limit = 1024m

I checked and the big commit was using 258 MBytes.

Though even the browser is almost hanging, take a long time to render the page.

100% deffered rendering for huge commits and diffs

23 May 19:13
Compare
Choose a tag to compare

I made it to work with less than 128MB PHP for very huge commits and diffs.
Besides, if a line is over 256 lines, it is deffered every timeout, so check this commit, how big diffs are there and it is super fast (using AngularJs):

https://gitlist.patrikx3.com/gitlist.git/commit/f1e4d5b938c8f1a6cd178aeea2e9e86111ea5323#p3x-gitlist-diff-94
Diff lines: 7626

The Gitter is merged into Gitlist to code easier.

22 May 20:24
Compare
Choose a tag to compare
2.7.78-794

p3x-robot sunday release 2018-5-21 23:34:22

The pager was not working with the browser back function.

21 May 22:59
Compare
Choose a tag to compare
2.7.19-757

p3x-robot sunday release 2018-5-21 23:34:22

The commit message is using markdown

21 May 21:35
Compare
Choose a tag to compare
2.7.17-754

p3x-robot sunday release 2018-5-21 23:34:22