fixed: UGContainer<Type> used a std::vector<Type> and when a new item was inserted
then current iterators (and pointers) were invalidated
now we are using std::vector<Type*>
this caused some crashes when a new user was added by 'adduser' winix function
added: plugin 'export' is able to upload files on a remote server now
(not finished yet)
changed: Thumb class is now called: Image
and we are able to resize images too
(some new options in the config and in mount points)
added: some new plugin messages
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@764 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -25,7 +25,7 @@ notify.o: ../templates/patterns.h ../templates/changepatterns.h ../core/cur.h
|
||||
notify.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
|
||||
notify.o: ../notify/notify.h ../core/mounts.h ../core/mountparser.h
|
||||
notify.o: ../core/crypt.h ../core/run.h ../core/users.h ../core/groups.h
|
||||
notify.o: ../core/group.h ../core/loadavg.h ../core/thumb.h
|
||||
notify.o: ../core/group.h ../core/loadavg.h ../core/image.h
|
||||
notify.o: ../core/basethread.h ../core/threadmanager.h
|
||||
notify.o: ../core/sessionmanager.h ../core/sessioncontainer.h
|
||||
notify.o: ../core/system.h ../core/htmlfilter.h ../core/request.h
|
||||
@@ -92,7 +92,7 @@ templatesnotify.o: ../core/dirs.h ../core/dircontainer.h ../notify/notify.h
|
||||
templatesnotify.o: ../core/mounts.h ../core/mountparser.h ../core/crypt.h
|
||||
templatesnotify.o: ../core/run.h ../core/users.h ../core/groups.h
|
||||
templatesnotify.o: ../core/group.h ../core/ugcontainer.h ../core/loadavg.h
|
||||
templatesnotify.o: ../core/thumb.h ../core/basethread.h
|
||||
templatesnotify.o: ../core/image.h ../core/basethread.h
|
||||
templatesnotify.o: ../core/threadmanager.h ../core/synchro.h
|
||||
templatesnotify.o: ../functions/functionparser.h ../core/cur.h
|
||||
templatesnotify.o: ../functions/adduser.h ../functions/cat.h
|
||||
|
||||
@@ -96,10 +96,10 @@ bool res = false;
|
||||
|
||||
for(i=users->Begin() ; i != users->End() ; ++i)
|
||||
{
|
||||
if( (i->notify & TemplatesNotifyFunctions::notify_msg.code) != 0 )
|
||||
if( ((*i)->notify & TemplatesNotifyFunctions::notify_msg.code) != 0 )
|
||||
{
|
||||
msg.name = i->name;
|
||||
msg.email = i->email;
|
||||
msg.name = (*i)->name;
|
||||
msg.email = (*i)->email;
|
||||
msg.lang = config->locale_default_index; // !! bedzie osobno dla kazdego uzytkownika
|
||||
|
||||
notify_user.insert(notify_user.end(), msg);
|
||||
|
||||
Reference in New Issue
Block a user