Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - brg

Pages: [1] 2
1
Feature requests / Translation for custom properties
« on: February 07, 2013, 10:50:19 am »
At this moment I can't create custom property for everything on several languages.

I think the best solution use unique name instead id and add lang function if name field empty.

2
julius, thanx for your help!
I added your fixes and upgrade PEAR Diff library to Horde Diff.

Attached a new version 0.2 to thread.
Last version and git repository you can find on github.com/bragovo/spy

3
Aloha everybody!
We created 2 small plugins and want present their

1. Spy. This plugins show what users modified while editing objects. For example:



This is standard notify email,but i think follow email look more informative:



And notes:



Or comment!


This plugin user Diff from PEAR. But it sometimes makes mistakes =(


Installation:
Unpack spy.zip and copy files. Only I file you must rewrite "application/views/notifier/general.php" =( This is little core files modification. Be careful while update FO.

2. Overdue reminder
This plugin create new cron job that notify subscribers about task that overdue, but not complete.
And write overdue days in email subject!


Installation:
Just unpack overdue_reminder.zip and copy files.

4
Feature requests / Re: Email filters/rules
« on: October 21, 2010, 06:09:12 am »
Hello, newtek!

If you decide to use Murz solution with hook file, you can avoid manual adding row in cron_events.
Instead following code:
Adding the following row to the table 'og_cron_events'
Code: [Select]
INSERT INTO og_cron_events (name, recursive, delay, is_system, enabled)
VALUES('classify_mail', 1, 5, 0, 1)

You may add this code In your hook file, and after first open FO on browser cron event is create.
Code: [Select]
$event = CronEvents::getByName('classify_mail');

if(!$sor){
  $event = new CronEvent;
  $event->setName('classify_mail');
  $event->setDate(DateTimeValueLib::now()->beginningOfDay());
  $event->setIsSystem(false);
  $event->setEnabled(true);
  $event->setDelay(5);
  $event->setRecursive(true);
  $event->save();
}

But this add one SELECT on EVERY page of FO =( I think developers must create algorithm for executing some code only while installing plugin.

5
How To's / Re: Notifications do not work after upgrade to 1.7.2.
« on: October 21, 2010, 04:32:17 am »
Yep, I am try configure send mail from SMTP server .. same logs =(
Our server required authorization with TLS (StartTLS) .. same errors.

At this time I modified Notifier.class.php function getMailer()
instead
Code: [Select]
Swift_Mailer::newInstance(Swift_MailTransport::newInstance());I set
Code: [Select]
return Swift_Mailer::newInstance(Swift_SendmailTransport::newInstance());
This decision is due to this bug http://www.fengoffice.com/web/bugs/view.php?id=101

6
How To's / Re: Notifications do not work after upgrade to 1.7.2.
« on: October 20, 2010, 03:29:17 am »
Hello!

Try in Administration -> Configuration -> Mailing -> Mail transport  set "SMTP server" and configure other smtp settings.

I have problems with "Default PHP settings" (Send transport in Swift), but i set Sendmail transport for Switft and notifications are OK, but testmail failed =)

7
Pусский / Re: Official translation to Russian
« on: September 17, 2010, 08:30:21 am »
Good translate. I think this translation can be a candidate for adding to releases.

8
How To's / Re: Automatic notifications about overdue tasks
« on: September 16, 2010, 05:29:36 am »
Hello, franponce87! =)

Our company create little modification of FO for this goal. May be you can take some code from us.

Ok. For easier updates I'll try create independence plugin.
1. application/models/project_tasks_late/ProjectTasksLate.class.php
Create new method getAllLateTasks for get all overdue tasks and extends ProjectTasks class
2. application/hooks/late_reminders_hook.php
Create function send_late_reminders what notify all subscribers about overdue tasks.
This function has some specific operations:
 - We set this cron event at midnight with period 24 hours. After server reboot cron evens time drop at booting time =(( But we need receive mail at every morning. May be create option for every cron jobs and remove this moment.
 - We do not need receive mail on weekend .. so notifications send on first 5 days on week.

After copy this files you must create event job in DB .. I don't know how to execute it automatically =(
You must run query like this:
Code: [Select]
INSERT INTO og_cron_events (`id`, `name`, `recursive`, `delay`, `is_system`, `enabled`, `date`) VALUES ('9', 'send_late_reminders', '1', '0', '0', '1', '0000-00-00 00:00:00');
Add translate for new phrases.

After this while run cron jobs you receive email about overdue tasks.

If you want see days in mail subject you must apply patch Notifier.class.diff and add {4} into phrases translate, like this
  'late reminder notification task' => '{3}: Task "{0}" is overdue by {4} d!',


I hope I helped you $)

9
Pусский / Re: Official translation to Russian
« on: September 14, 2010, 10:27:39 am »
Sure, I am understand that you don't speak Russian and I do not have any complaints personally. I am very bad speak an English and not translate any application into English =) I'll just recommend appoint maintainer for check translations before release.

Unfortunately I do not have so much time that would help you = (

I'll  try translate all phrases for 1.7.2 using native translate tool, but I think you must think about this for all translation.

10
Pусский / Re: Official translation to Russian
« on: September 14, 2010, 10:03:51 am »
Hello, franponce87!

You must more thoroughly check translation file and don't include in releases translations from anyone.

Current translation contains hideous phrases. I think you must select maintainer from russian speaking members, who would check all versions of translations of russian community and compile files for releases.

Oh, and I am forget about syntax error in .js file .. very bad for the release. Someone should do this little inspect.

11
Pусский / Re: Official translation to Russian
« on: September 14, 2010, 05:17:52 am »
Kellas, а там есть перевод для 1.7.1? А то я вот сижу перевожу недостающие строки для 1.7.1 .. если есть, то здорово, а то мне лениво переводить =)

12
Pусский / Re: Official translation to Russian
« on: June 21, 2010, 08:11:15 am »
В RC2 всё корректно работает с файлам z.

Я поражён кто добавил в официальный русский перевод след:
'loading': 'Туплю...',

Что это вообще за жесть?

13
Pусский / Re: Official translation to Russian
« on: June 21, 2010, 04:03:15 am »
Странно. В RC все работает.
Файлы он берет автоматом, сканируется директория с переводами, сортируется по-алфавиту и потом инклудица, сейчас скачаю эти файлы, возможно в них ошибка просто и заодно проверю в версии RC2.

14
Pусский / Re: Official translation to Russian
« on: June 16, 2010, 09:10:48 am »
Да что-то вообще всё плохо стало с русским языком .. очень много непеведенного.

15
Older versions / [1.7-RC] Bad HTML/CSS
« on: May 14, 2010, 09:19:41 am »
There are many css properties like this "color:333333" in file "application/views/co/view.php".
May be in another files .. but this properties never work!

Pages: [1] 2