/ [wydawca] / trunk
To checkout: svn checkout http://svn.gnu.org.ua/sources/wydawca/trunk
Puszcza

Log of /trunk

View Directory Listing Directory Listing


Sticky Revision:

Revision 340 - Directory Listing
Modified Fri Feb 13 13:29:46 2009 UTC (12 years, 4 months ago) by root
Add README.git (by /usr/local/bin/git-svn-mirror-finish)

Revision 339 - Directory Listing
Modified Sat Jan 24 15:07:09 2009 UTC (12 years, 5 months ago) by gray
Bugfixes

* src/diskio.c (archive_single_file): Fix errno value (ENOENT
instead of EACCESS).
Do not update STAT_ARCHIVES.
(make_signame): New function.
(archive_file): Use make_signame.
(do_rmsymlink_file): Take 2nd argument, specifying whether to
emit warning on errno==ENOENT.
Update STAT_RMSYMLINKS.
(rmsymlink_file): Attempt to remove .sig as well, if
archive_signatures is set.
Do not update STAT_RMSYMLINKS.


Revision 337 - Directory Listing
Modified Fri Jan 23 10:22:33 2009 UTC (12 years, 5 months ago) by gray
Version 1.2

* configure.ac, NEWS: Version 1.2
* doc/wydawca.texi: Document new features.
* src/wydawca.c (archive_signatures): New variable.
* src/wydawca.h (SUF_SIG,SUF_SIG_LEN,SUF_DIR,SUF_DIR_LEN): New
macros.
(archive_signatures): New variable.
* src/config.c: New configuration file statement
archive-signatures.
* src/process.c (SUF_SIG,SUF_DIR): Move to src/wydawca.
* src/diskio.c (backup_file): Do not update statistics.
(do_archive_file): Unlink the file after archivation.
(archive_single_file): New function.
(archive_file): Implicitly archive .sig file, if
archive_signatures is set.
* src/triplet.c (check_triplet_state): Call
verify_directive_file.
(triplet_processor): Remove call to verify_directive_file.


Revision 334 - Directory Listing
Modified Sat Jan 17 14:40:50 2009 UTC (12 years, 5 months ago) by gray
Bugfix

Revision 332 - Directory Listing
Modified Sat Jan 17 14:02:20 2009 UTC (12 years, 5 months ago) by gray
Version 1.1

Revision 331 - Directory Listing
Modified Sat Jan 17 13:51:34 2009 UTC (12 years, 5 months ago) by gray
Fix handling of the symlink directive.

* src/diskio.c (symlink_file): Silently remove existing symlink
target.
* NEWS: Update.


Revision 330 - Directory Listing
Modified Wed Sep 3 10:32:26 2008 UTC (12 years, 9 months ago) by gray
* configure.ac, NEWS: Version 1.0.90
* doc/wydawca.texi: Mention changes in detailed statistics
logging.
* etc/wydawca.rc: Remove gray's email


Revision 329 - Directory Listing
Modified Wed Sep 3 10:20:59 2008 UTC (12 years, 9 months ago) by gray
Fix typo

Revision 328 - Directory Listing
Modified Wed Sep 3 10:20:03 2008 UTC (12 years, 9 months ago) by gray
* src/wydawca.c (logstats_): Log detailed statistics only if 
at least one counter is not zero.


Revision 326 - Directory Listing
Modified Fri Aug 22 21:43:51 2008 UTC (12 years, 10 months ago) by gray
Release 1.0

Revision 325 - Directory Listing
Modified Fri Aug 22 21:36:20 2008 UTC (12 years, 10 months ago) by gray
Remake master menu

Revision 324 - Directory Listing
Modified Fri Aug 22 21:35:59 2008 UTC (12 years, 10 months ago) by gray
Normalize use of sendfile(2).
* src/wydawca.c (enable_sendfile): New global.
* src/wydawca.h: Likewise.
* src/config.c (enable-sendfile): New statement.
* src/diskio.c (copy_file): Use enable_sendfile to decide whether
to use sendfile.
* doc/wydawca.texi: Document enable-sendfile.


Revision 323 - Directory Listing
Modified Mon Jul 14 23:35:28 2008 UTC (12 years, 11 months ago) by gray
* src/wydawca.h (register_message_template): New prototype.
* src/verify.c (fill_project_name): Fix return value.
* src/config.c (_cfg_raw_read): Remove unused variables.
* src/directive.c (directive_version_in_range_p): Version is unsigned.
* src/mail.c (do_notify): Remove unused variable.
* src/diskio.c (copy_file): Fall back to user-space copying if sendile
fails with EINVAL.  Always remove destination file on failure.
* src/triplet.c (expand_triplet_upload): Initialize exp->value.


Revision 322 - Directory Listing
Modified Mon Nov 19 19:48:35 2007 UTC (13 years, 7 months ago) by gray
* configure.ac: Use AM_GNU_MAILUTILS
* README-hacking: Note mailutils.


Revision 321 - Directory Listing
Modified Sun Sep 23 18:01:42 2007 UTC (13 years, 9 months ago) by gray
* src/verify.c: Add a fixme comment
* src/triplet.c (triplet_processor): First check the state of a
triplet. Call verify_directive file only if it is
triplet_directive or triplet_complete
(expand_triplet_full,expand_triplet_upload): Fix coredump if one
of components is missing. 


Revision 320 - Directory Listing
Modified Fri Sep 7 12:56:50 2007 UTC (13 years, 9 months ago) by gray
Prepare for the release

Revision 319 - Directory Listing
Modified Fri Sep 7 09:36:14 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 318 - Directory Listing
Modified Thu Sep 6 19:19:34 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 317 - Directory Listing
Modified Thu Sep 6 18:51:59 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 316 - Directory Listing
Modified Thu Sep 6 13:05:56 2007 UTC (13 years, 9 months ago) by gray
Redo mail notifications

Revision 315 - Directory Listing
Modified Thu Sep 6 09:30:05 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 314 - Directory Listing
Modified Wed Sep 5 18:41:56 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 313 - Directory Listing
Modified Wed Sep 5 18:10:04 2007 UTC (13 years, 9 months ago) by gray
Update ignore prop

Revision 312 - Directory Listing
Modified Wed Sep 5 18:07:23 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 311 - Directory Listing
Modified Tue Sep 4 19:46:00 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 310 - Directory Listing
Modified Tue Sep 4 17:24:06 2007 UTC (13 years, 9 months ago) by gray
Bugfix

Revision 309 - Directory Listing
Modified Tue Sep 4 14:17:28 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 308 - Directory Listing
Modified Tue Sep 4 13:30:15 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 307 - Directory Listing
Modified Sun Sep 2 08:23:21 2007 UTC (13 years, 9 months ago) by gray
Set up documentation framework

Revision 306 - Directory Listing
Modified Sat Sep 1 12:54:40 2007 UTC (13 years, 9 months ago) by gray
Update

Revision 305 - Directory Listing
Modified Sat Sep 1 12:46:05 2007 UTC (13 years, 9 months ago) by gray
Initial move from GSC

Revision 298 - Directory Listing
Modified Sun Aug 26 16:43:21 2007 UTC (13 years, 10 months ago) by gray
* wydawca/wydawca.h (struct file_triplet): New member user
(fill_project_name): New function
* wydawca/verify.c (get_project_name): Rename to
fill_project_name, remove static qualifier.
* wydawca/wydawca.rc: Update
* wydawca/mail.c (notify_owner): Notify only the submitter on
ev_success, ev_bad_directive_signature and
ev_bad_detached_signature (should it be made configurable?)
(notify): Call fill_project_name
* wydawca/triplet.c (hash_triplet_free): Free trp->user
(expand_user_real_name, expand_user_email): Change data indices to
match those of project_owner_method.


Revision 297 - Directory Listing
Modified Sun Aug 26 13:03:32 2007 UTC (13 years, 10 months ago) by gray
Implement project owner notifications.

* wydawca/wydawca.c (syslog_printer): Reduce the number of memory
reallocations
(make_stat_expansion): Update
* wydawca/method.c: Implement a new framework: methods may return
2-dimensional arrays of strings.
* wydawca/sql.c, wydawca/sql.h: Implement the new method framework.
* wydawca/verify.c (expand_param): kw_expansion may provide
expansion functions. An additional argument supplies user-defined
data for expansions.
(escape_kwexp): Extern
(free_kwexp): Improve
(get_project_name): New function
(make_default_kwexp): New function
(check_access_rights): Call get_project_name. Use
make_default_kwexp to initialize expansions
(verify_directive_file): Use make_default_kwexp to initialize
expansions
* wydawca/wydawca.h (NITEMS): New macro
(enum access_method_type): New members: ncol, nrow
(struct directory_pair): New members url,project_owner_method,
user_data_method
(struct file_info): Replace mtime, uid with struct stat sb
(struct file_triplet): New members project, dpair, user_data
(TRIPLET_UID): Take into account the changes to struct file_info
(enum notification_event): New data type
(notify_project_owner, notify_admin, notify): New functions
(struct kw_expansion): New members static_p, expand and data.
(escape_kwexp,make_default_kwexp): New proto
(expand_param): Change signature
(triplet_expand_param): New function
(method_result): Change prototype
(method_num_rows,method_num_cols): New functions
* wydawca/config.c: New statements project-owner, user-data,
admin-address, mail-user, user-message
directory can take an optional argument specifying base URL for
notification messages
* wydawca/gpg.c (verify_directive_signature): Expand directives
even if the signature does not match. Useful for notifications.
Add notifications.
* wydawca/process.c: Add notifications.
* wydawca/directive.c: Add notifications
* wydawca/wydawca.rc: Update
* wydawca/mail.c, wydawca/mail.h: Implement project owner
notifications 
* wydawca/triplet.c (triplet_expand_param): New function

* lib/cfg.c (read_cont_line): Fix counting of input lines.


Revision 296 - Directory Listing
Modified Sat Aug 25 14:43:26 2007 UTC (13 years, 10 months ago) by gray
Add copyright header

Revision 295 - Directory Listing
Modified Sat Aug 25 13:29:33 2007 UTC (13 years, 10 months ago) by gray
* configure.ac: Require mailutils for wydawca
* bootstrap: Require inttostr and strftime 
* wydawca/mail.h: New file
* wydawca/mail.c: New file
* wydawca/Makefile.am: Add mail.c and mail.h
* wydawca/wydawca.c: Include mail.h
(stat_mask_p, make_stat_expansion): New functions
(logstats): Call mail_stats
(main): Call initialize mailer subsystem

* wydawca/sql.c, wydawca/sql.h: Keep usage reference count. Do not
deinitialize unless it falls to 0. Do not initialize if it is > 0.

* wydawca/verify.c (expand_param): Rewrite to allow long keywords
All callers updated.
* wydawca/wydawca.h (struct access_method): Keep reference count
(struct directory_pair): verify_method and gpg_key_method are
pointers to structs.
(struct kw_expansion): kw is char*
(count_collected_triplets): New function
(method_new): New function
* wydawca/config.c: reimplement  verify-user and gpg-key
New keywords mailer, admin-address, from-address, mail-admin-stat
and admin-stat-message
* wydawca/process.c: Close methods only when their reference count
is 0.
* wydawca/method.c: Likewise.
(method_new): New function
* wydawca/wydawca.rc: Update
* wydawca/diskio.c: Minor changes
* wydawca/triplet.c (count_collected_triplets): New function
* jabberd/main.c: Minor change


Revision 294 - Directory Listing
Modified Sat Aug 25 09:15:25 2007 UTC (13 years, 10 months ago) by gray
Check access rights. Improve statistics

Revision 293 - Directory Listing
Modified Fri Aug 24 20:41:55 2007 UTC (13 years, 10 months ago) by gray
Print debug reporting email at the end of the help output

Revision 292 - Directory Listing
Modified Fri Aug 24 20:38:54 2007 UTC (13 years, 10 months ago) by gray
* lib/version.c: New file
* lib/gsc.h (gsc_version): New function
* cvs/Makefile.am, ckaliases/Makefile.am, wydawca/Makefile.am,
lib/Makefile.am, jabberd/Makefile.am: Fix include dirs
* ckaliases/ckaliases.c, ckaliases/lex.l, ckaliases/ckaliases.h,
ckaliases/gram.y: Use long options. Implement --version
* wydawca/wydawca.c, jabberd/main.c: Use gsc_version to display
program version.
* doc/gsc.texi: Update
* bootstrap: Add vasprintf


Revision 291 - Directory Listing
Modified Fri Aug 24 17:23:26 2007 UTC (13 years, 10 months ago) by gray
Allow to use "archive" outside of "directory"

Revision 290 - Directory Listing
Modified Fri Aug 24 17:05:05 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 289 - Directory Listing
Modified Fri Aug 24 15:15:38 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 288 - Directory Listing
Modified Fri Aug 24 14:00:59 2007 UTC (13 years, 10 months ago) by gray
Log final statistics

Revision 287 - Directory Listing
Modified Thu Aug 23 16:28:52 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 286 - Directory Listing
Modified Thu Aug 23 16:17:47 2007 UTC (13 years, 10 months ago) by gray
Improve safety checks; implement symlink/rmsymlink/archive directives; Fix directive signature verification.

Revision 285 - Directory Listing
Modified Wed Aug 22 19:09:04 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 284 - Directory Listing
Modified Wed Aug 22 13:23:03 2007 UTC (13 years, 10 months ago) by gray
Implement all directives

Revision 282 - Directory Listing
Modified Tue Aug 21 19:01:41 2007 UTC (13 years, 10 months ago) by gray
Implement archiving and backups

Revision 281 - Directory Listing
Modified Mon Aug 20 13:54:40 2007 UTC (13 years, 10 months ago) by gray
* jabberd/Makefile.am, cvs/Makefile.am, ckaliases/Makefile.am,
acinclude.m4, Makefile.am: Add copyright statements
* wydawca/sql.c (trim_length): Move to verify.c
* wydawca/verify.c (trim_length, trim)
(check_access_rights): New functions
(expand_param): Export
(verify_triplet): Call verify_directive_format and
check_access_rights
* wydawca/wydawca.h (trim_length, trim, directive_parse)
(directive_get_value, directive_pack_version)
(directive_version_in_range_p, verify_directive_format)
(directive_first, directive_next, process_directives)
(create_directory, move_file): New functions
(MIN_DIRECTIVE_VERSION,MAX_DIRECTIVE_VERSION)
(MKDIR_PERMISSIONS,CREAT_PERMISSIONS): New defines
* wydawca/gpg.c (wydawca_gpg_homedir): Return a meaningful value
(verify_directive_signature): Call directive_parse
* wydawca/process.c (parse_file_name): Return void
* wydawca/directive.c: New file
* wydawca/diskio.c: New file
* wydawca/triplet.c (triplet_processor): Call process_directives
(enumerate_triplets): Arg is not const
* wydawca/Makefile.am: Add new sources
* configure.ac: Check for sendfile


Revision 280 - Directory Listing
Modified Sun Aug 19 22:43:22 2007 UTC (13 years, 10 months ago) by gray
* jabberd/jabberd.h (getmaxfd): moved to gsc.h
* jabberd/main.c (stderr_printer): Minor fix
* wydawca/triplet.c (triplet_processor): Minor fix
* wydawca/verify.c (verify_triplet): Save owner gid in reg.
Call verify_detached_signature
* wydawca/wydawca.h (struct file_register): New member gid.
(verify_detached_signature): New function
* wydawca/gpg.c (verify_detached_signature): New function
* lib/Makefile.am: Add userprivs.c
* lib/userprivs.c: New file


Revision 279 - Directory Listing
Modified Sun Aug 19 13:30:35 2007 UTC (13 years, 10 months ago) by gray
New module: wydawca

Revision 1 - Directory Listing
Added Sat Sep 1 09:30:05 2007 UTC (13 years, 9 months ago) by root
 "default layout"

Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20