/[BackupPC]/trunk/lib/BackupPC/SearchLib.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/lib/BackupPC/SearchLib.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 267 - (view) (annotate) - [select for diffs]
Modified Tue Dec 13 01:24:09 2005 UTC (18 years, 4 months ago) by dpavlin
File length: 28542 byte(s)
Diff to previous 262
remove debug div


Revision 262 - (view) (annotate) - [select for diffs]
Modified Tue Dec 13 00:10:44 2005 UTC (18 years, 4 months ago) by dpavlin
File length: 28533 byte(s)
Diff to previous 259
 r11655@llin:  dpavlin | 2005-12-13 00:23:11 +0100
 various improvements and fixes. Might even work now.


Revision 259 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 20:59:58 2005 UTC (18 years, 4 months ago) by dpavlin
File length: 28423 byte(s)
Diff to previous 254
 r11645@llin:  dpavlin | 2005-12-12 22:57:51 +0100
 added getVolumes to calculate number of media required, convert to bytes,
 added images of medias required (but it's broken!)


Revision 254 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 16:07:27 2005 UTC (18 years, 4 months ago) by dpavlin
File length: 27346 byte(s)
Diff to previous 253
 r11640@llin:  dpavlin | 2005-12-12 18:07:17 +0100
 tar_check works again and creates missing md5 sum files (if needed)


Revision 253 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 13:41:08 2005 UTC (18 years, 4 months ago) by dpavlin
File length: 27313 byte(s)
Diff to previous 237
 r11637@llin:  dpavlin | 2005-12-12 15:40:59 +0100
 create increments using new BackupPC_tarIncCreate


Revision 237 - (view) (annotate) - [select for diffs]
Modified Wed Nov 16 19:24:32 2005 UTC (18 years, 5 months ago) by dpavlin
File length: 27291 byte(s)
Diff to previous 230
fixed path to HyperEstraier index when not using estmaster


Revision 230 - (view) (annotate) - [select for diffs]
Modified Tue Oct 25 09:30:52 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 27293 byte(s)
Diff to previous 229
 r8685@llin:  dpavlin | 2005-10-25 11:30:44 +0200
 implemented MaxArchiveFileSize in configuration and javascript 


Revision 229 - (view) (annotate) - [select for diffs]
Modified Tue Oct 25 09:30:51 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 27092 byte(s)
Diff to previous 227
 r8684@llin:  dpavlin | 2005-10-25 10:42:58 +0200
 added unicode arrows to show sort order, cleanup sort_header a bit


Revision 227 - (view) (annotate) - [select for diffs]
Modified Mon Oct 24 15:04:45 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 26748 byte(s)
Diff to previous 225
generate valid HTML (bug noticed in IE)


Revision 225 - (view) (annotate) - [select for diffs]
Modified Mon Oct 24 14:02:00 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 26747 byte(s)
Diff to previous 217
sort by share in burn sort by host *AND* share (not just share)


Revision 217 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 17:41:52 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 26726 byte(s)
Diff to previous 211
 r8615@llin:  dpavlin | 2005-10-16 19:41:44 +0200
 added sort into archive to backup medium, small updates


Revision 211 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 10:57:55 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 25614 byte(s)
Diff to previous 209
 r8603@llin:  dpavlin | 2005-10-15 22:44:32 +0200
 implemented sort in search results


Revision 209 - (view) (annotate) - [select for diffs]
Modified Sun Oct 16 10:57:51 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 23895 byte(s)
Diff to previous 197
 r8601@llin:  dpavlin | 2005-10-15 21:00:32 +0200
 added check_archived to lookup (and cache) media on which is file


Revision 197 - (view) (annotate) - [select for diffs]
Modified Thu Oct 13 18:33:00 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 22755 byte(s)
Diff to previous 194
 r8507@llin:  dpavlin | 2005-10-13 20:32:53 +0200
 added support for multiple parts to user interface


Revision 194 - (view) (annotate) - [select for diffs]
Modified Thu Oct 13 17:11:59 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 22016 byte(s)
Diff to previous 188
 r8502@llin:  dpavlin | 2005-10-13 19:05:29 +0200
 split archives which are larger than MaxArchiveSize to multiple parts


Revision 188 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 16:49:02 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21680 byte(s)
Diff to previous 187
 r8490@llin:  dpavlin | 2005-10-12 16:03:29 +0200
 generate XML description in ISO image


Revision 187 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 13:14:06 2005 UTC (18 years, 6 months ago) by iklaric
File length: 24921 byte(s)
Diff to previous 186
 r201@klaxLaptop:  klax | 2005-10-12 15:13:36 +0200
 - added dumpArchive2XML() sub


Revision 186 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 12:53:27 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21659 byte(s)
Diff to previous 171
 r8484@llin:  dpavlin | 2005-10-12 14:53:21 +0200
 fix bug with same dates in from and to field


Revision 171 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 14:32:31 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21512 byte(s)
Diff to previous 166
backups.size can be 0 for very small backups (because it's in Mb)


Revision 166 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 14:04:49 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21533 byte(s)
Diff to previous 161
better calculation of inc_size


Revision 161 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 13:39:13 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21489 byte(s)
Diff to previous 155
 r8424@llin:  dpavlin | 2005-10-10 15:30:41 +0200
 use inc_size for everything


Revision 155 - (view) (annotate) - [select for diffs]
Modified Mon Oct 10 13:04:48 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21602 byte(s)
Diff to previous 149
 r8415@llin:  dpavlin | 2005-10-10 15:03:25 +0200
 nicer filenames (remove multiple ___)


Revision 149 - (view) (annotate) - [select for diffs]
Modified Fri Oct 7 12:27:07 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21582 byte(s)
Diff to previous 146
 r8390@llin:  dpavlin | 2005-10-07 14:27:00 +0200
 use MaxArchiveSize from configuration in JavaScript


Revision 146 - (view) (annotate) - [select for diffs]
Modified Fri Oct 7 12:03:05 2005 UTC (18 years, 6 months ago) by iklaric
File length: 21472 byte(s)
Diff to previous 145
 r159@klaxLaptop:  klax | 2005-10-07 13:14:47 +0200
 - switched from hardcoded sql's to $dbh->prepare() & execute()
 - various bugfixes


Revision 145 - (view) (annotate) - [select for diffs]
Modified Fri Oct 7 11:15:28 2005 UTC (18 years, 6 months ago) by dpavlin
File length: 21472 byte(s)
Diff to previous 143
 r8368@llin:  dpavlin | 2005-10-07 13:15:21 +0200
 refactor code a lot. Probably broken now.


Revision 143 - (view) (annotate) - [select for diffs]
Modified Fri Oct 7 09:36:10 2005 UTC (18 years, 6 months ago) by iklaric
File length: 21461 byte(s)
Diff to previous 142
 r155@klaxLaptop:  klax | 2005-10-07 11:36:01 +0200
 added sub getGzipSize() in SearchLib.pm


Revision 142 - (view) (annotate) - [select for diffs]
Modified Fri Oct 7 08:58:45 2005 UTC (18 years, 6 months ago) by ravilov
File length: 20745 byte(s)
Diff to previous 141
fix proslog fixa: nije dobro radilo odcheckiranje glavnog checkboxa, niti checkiranje checkboxova ako se vec checkirani "preklapaju" sa onima koje bi checkAll() htio checkirati


Revision 141 - (view) (annotate) - [select for diffs]
Modified Fri Oct 7 08:50:23 2005 UTC (18 years, 6 months ago) by ravilov
File length: 20682 byte(s)
Diff to previous 140
fix: checkAll() nije uzimao u obzir vec odabrane backupe


Revision 140 - (view) (annotate) - [select for diffs]
Modified Fri Oct 7 07:59:28 2005 UTC (18 years, 6 months ago) by ravilov
File length: 20595 byte(s)
Diff to previous 137
fix various things to make Burn selected div work in Internet Explorer


Revision 137 - (view) (annotate) - [select for diffs]
Modified Thu Sep 29 08:46:13 2005 UTC (18 years, 7 months ago) by iklaric
File length: 20170 byte(s)
Diff to previous 129
 r145@klaxLaptop:  klax | 2005-09-29 10:46:02 +0200
 fixed getBackupsNotBurned();
 fixed insertion into archive_backup, workflows, workflow_step
 added needed sequences (workflow_schema_update.sql);


Revision 129 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 14:25:51 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 20169 byte(s)
Diff to previous 128
checkAll now selects just hosts up to one full media


Revision 128 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 13:31:04 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 19883 byte(s)
Diff to previous 127
added progress bar which changes color as filled capacity approach 90%


Revision 127 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 09:27:17 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 17057 byte(s)
Diff to previous 126
make div with fixed position for current size, note and submit button


Revision 126 - (view) (annotate) - [select for diffs]
Modified Wed Sep 21 11:18:29 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 16510 byte(s)
Diff to previous 125
add getElementById cache to speed up things, make floating div for total
size, note and submit button, use POST in form (to get around limit URI
length when using GET)


Revision 125 - (view) (annotate) - [select for diffs]
Modified Wed Sep 21 07:58:08 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 15380 byte(s)
Diff to previous 124
remove checkboxes for hosts without created increments


Revision 124 - (view) (annotate) - [select for diffs]
Modified Tue Sep 20 16:23:04 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 15351 byte(s)
Diff to previous 123
fixed JavaScript NaN output (we should really hide checkboxes on rows
which doesn't have tar increments)


Revision 123 - (view) (annotate) - [select for diffs]
Modified Mon Sep 19 11:07:31 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 15346 byte(s)
Diff to previous 122
 r8178@llin:  dpavlin | 2005-09-18 21:23:19 +0200
 fixed index handling when using node URI


Revision 122 - (view) (annotate) - [select for diffs]
Modified Fri Sep 16 14:11:00 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 15422 byte(s)
Diff to previous 121
1000x speedup (60 s -> 60 ms)


Revision 121 - (view) (annotate) - [select for diffs]
Modified Thu Sep 15 13:54:29 2005 UTC (18 years, 7 months ago) by iklaric
File length: 15121 byte(s)
Diff to previous 117
 r124@klaxLaptop:  klax | 2005-09-15 15:46:19 +0200
 - first step of workflow is done.


Revision 117 - (view) (annotate) - [select for diffs]
Modified Sun Sep 11 13:05:06 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 14480 byte(s)
Diff to previous 109
added node search


Revision 109 - (view) (annotate) - [select for diffs]
Modified Thu Sep 1 18:30:51 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 13584 byte(s)
Diff to previous 102
added Ivan's changes to show increment sizes and other minor fixes

Revision 102 - (view) (annotate) - [select for diffs]
Modified Tue Aug 30 22:43:01 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 13012 byte(s)
Diff to previous 91
added share, nicer html


Revision 91 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 17:53:46 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 13118 byte(s)
Diff to previous 88
bug fix: require search string to be in filepath to produce same
results from HyperEstraier as from RDBMS.


Revision 88 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 14:15:01 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 13060 byte(s)
Diff to previous 87
optimization: if there is no file pattern it will fallback on database
usages which is much faster than HyperEstraier (bacause it has indexes)


Revision 87 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 14:05:08 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 13005 byte(s)
Diff to previous 86
bug fixes: date limit now works again, correct number of displayed results,
added SQL script to remove unneeded columns, dates only selection now
works with HyperEstraier (but, it's MUCH SLOWER than from database),
added ordinal number of result


Revision 86 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 12:35:59 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 12976 byte(s)
Diff to previous 85
first cut at implemeting HyperEstraier search,
shares are now formated like host:share, fix date display,
initial cut at removing unneeded database columns,
rename all fields to comply with database columns


Revision 85 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 10:45:51 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11717 byte(s)
Diff to previous 84
rewrite pager to transfer all parametars via URL instead of form POST


Revision 84 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 10:20:31 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11500 byte(s)
Diff to previous 83
connect to DB just once


Revision 83 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 10:14:48 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11604 byte(s)
Diff to previous 80
refactor displaySearchGrid and related function to remove multiple calls
from BackupPC::CGI::SearchArchives to BackupPC::SearchLib.


Revision 80 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 23:50:05 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11478 byte(s)
Diff to previous 79
minor tweak and new CSS theme


Revision 79 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 23:37:10 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11463 byte(s)
Diff to previous 78
use BackupPC::Lib::timeStamp in epoch_to_iso,
removed dvds from SQL (in preparation for new storage of archival media),
fix archial SQL,
use correct (I hope) CSS classes in search html


Revision 78 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 21:43:01 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11105 byte(s)
Diff to previous 72
fix restore url escaping


Revision 72 - (view) (annotate) - [select for diffs]
Modified Thu Aug 25 11:41:58 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11067 byte(s)
Diff to previous 66
order shares alphabetically


Revision 66 - (view) (annotate) - [select for diffs]
Modified Mon Aug 22 00:09:59 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11052 byte(s)
Diff to previous 64
calculate size for each backup (this is more accurate than reading meta data
if you aren't staring from clean BackupPC installation).


Revision 64 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 17:08:55 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11145 byte(s)
Diff to previous 62
sort files by date and cludge (hard-coded mess) to make TZ +1


Revision 62 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 15:59:55 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11107 byte(s)
Diff to previous 60
removed on-disk full path from database and queries, search now tries to
match full path and not only filename


Revision 60 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 15:38:18 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11154 byte(s)
Diff to previous 59
fixed limit by share while searching


Revision 59 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 15:29:24 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 11153 byte(s)
Diff to previous 58
Add permantent serach form using HTML::FillInForm, fixed offset+1 bug,
added no results message


Revision 58 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 14:26:23 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 10838 byte(s)
Diff to previous 55
burn media now sorts by start date and display age (in days)


Revision 55 - (view) (annotate) - [select for diffs]
Modified Sun Aug 21 13:44:20 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 10628 byte(s)
Diff to previous 53
removed dvds from count sql, added duration of search, cosmetic changes in output


Revision 53 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 17:19:48 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 10396 byte(s)
Diff to previous 51
fix archive to backup medium (but it still doesn't have functionality)


Revision 51 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 16:40:11 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 10512 byte(s)
Diff to previous 31
added SearchDSN and SearchUser configuration directives. Defaults are
probably useful only to me :-)
Added total duration display to BackupPC_updatedb


Revision 31 - (view) (annotate) - [select for diffs]
Modified Sun Jul 31 16:16:55 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 10452 byte(s)
Diff to previous 26
implemented pager which work (with maximum of 10 pages at one time and 100 results on
one screen)


Revision 26 - (view) (annotate) - [select for diffs]
Modified Fri Jul 29 17:30:25 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 9676 byte(s)
Diff to previous 24
added restore link to search results


Revision 24 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 16:48:33 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 9350 byte(s)
Diff to previous 20
cosmetics


Revision 20 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 14:58:54 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 9283 byte(s)
Diff to previous 19
fixed join with backups to show just increments


Revision 19 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 14:32:40 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 9253 byte(s)
Diff to previous 17
display limits in search, easier to understand filter generator (and correct
one -- doesn't require users to enter dates as 01 01 2001)


Revision 17 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 13:22:38 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 11563 byte(s)
Diff to previous 16
improved design


Revision 16 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 11:51:09 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 11938 byte(s)
Diff to previous 9
don't join with backups, so it will show just increments


Revision 9 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 12:36:22 2005 UTC (18 years, 10 months ago) by dpavlin
File length: 12376 byte(s)
Diff to previous 6
experimental pager support in search


Revision 6 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 09:47:59 2005 UTC (18 years, 10 months ago) by dpavlin
File length: 12912 byte(s)
Diff to previous 4
lot of fixes to make search work


Revision 4 - (view) (annotate) - [select for diffs]
Added Wed Jun 22 19:22:51 2005 UTC (18 years, 10 months ago) by dpavlin
File length: 12882 byte(s)
added Search and Burn changes from Ivan Klaric


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26