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 - Murz

Pages: 1 ... 4 5 [6] 7 8 ... 10
76
Older versions / Re: New Bug Tracker
« on: June 23, 2010, 03:51:55 am »
I have found a bug in bugtracker ;) I can't add new bug!

I go to form http://www.fengoffice.com/web/bugs/bug_report_page.php, fill all request fields, press "Submit report" and got the error:
APPLICATION ERROR #11
A necessary field "Classification" was empty. Please recheck your inputs.


But I didn't see the field "Classification" on page http://www.fengoffice.com/web/bugs/bug_report_page.php and I fill all fields that needed:
 *Category
Reproducibility
Severity
*Summary
*Description
Steps To Reproduce
*Feng Office Versions
Module
View Status

77
Older versions / Re: New Bug Tracker
« on: June 23, 2010, 02:31:52 am »
Very good! It more useful that this forum for tracking bugs!

Can we post feature requests to this bugtracker too or better is discuss they in forum?

78
I wish that user can choose in his settings how to show users in pages - as Name-Surname or as nickname only.

79
Pусский / Re: Official translation to Russian
« on: June 18, 2010, 06:05:27 am »
Выкладываю свою версию перевода, она не заменяет основной, а дополняет его.
Добавил часть фраз, часто бросающихся в глаза, которые не переведены в текущем переводе, сократил кое-какие фразы, некотрые перефразировал чтобы более понятны были.

Прикреплено 2 файлика - положить в папку language/ru_ru надо их и всё должно заработать:
z_ru.js - дополнение перевода javascript
z_ru.php - дополнение перевода php

Если не понравится - просто удалить эти файлы и всё вернётся к оригиналу.

80
I can change the Display name for users, but it not good because other users (from partner organizations) must see the Name and Surname, but people from internal company want to see shorter names (usernames) because they have many tasks and other objects, and each name in page waste free space :)

81
Will be good to see the option in user settings that change showing users from Display Name to Username.

Because it saves more space and all usernames are unique, but display names can be same for different users.

And for me more easily is identificate user via username (nickname) instead of Display Name.

username view will be good in task lists, calendar, and other views that have lack of free space in page.

82
Community Contributions / Show assigned user in calendar view
« on: June 17, 2010, 02:31:08 am »
Will be good to see assigner names (or only logins for save space) in tasks on calendar view.

In month view there are no such space, but in weekly and daily views we can add this info.

83
Community Contributions / Show workspace name in calendar tasks
« on: June 17, 2010, 02:26:55 am »
I have many workspaces and tasks with same name in they.
And in Calendar I see only task name and can't understand from which workspace this task is.

Will be good to add workspace name for tasks in calendar views

84
If you use KDE with Akonadi you can simply add new resource (Vcard file) type the url like http://domain.com/fengoffice/export_contacts.php?token=b93af3fbd993a2f3df6e6a95fca135154b3bab00  and that's all, you got all contacts in KMail and other apps!

85
I can't attach files, got the error: The attachments upload directory is not writable. Your attachment or avatar cannot be saved.

86
cabeza, thank's for info! I have written the working script, file is attached to message and must be placed in fengoffice root.
And file application/controllers/ContactController.class.php must be modified, after string 2240 you must add:
Code: [Select]
   function export_to_vcard_all() {
      $contacts_all = Contacts::instance()->getAllowedContacts();
      $user=logged_user();
      
//       var_export($user); die;
      if (count($contacts_all) == 0) {
        flash_error(lang("you must select the contacts from the grid"));
        ajx_current("empty");
        return;
      }

      $data = self::build_vcard($contacts_all);
      $name = "contacts_all_".$user->getUsername().".vcf";

      download_contents($data, 'text/x-vcard', $name, strlen($data), true);
      die();
    }

And contents of file export_contacts.php:
Code: [Select]
<?php
chdir
(dirname(__FILE__));
define("CONSOLE_MODE"true);
define('PUBLIC_FOLDER''public');
include 
"init.php";

include 
APPLICATION_PATH "/helpers/permissions.php";

session_commit(); // we don't need sessions
@set_time_limit(0); // don't limit execution of cron, if possible

if(!empty($_GET['token'])) {
  
$user Users::getByToken(array_var($_GET'token'));

  if(!empty(
$user)) {
    
CompanyWebsite::instance()->setLoggedUser($userfalsefalsefalse);
    
ContactController::export_to_vcard_all();
  } else 
"Can't find the user matched token ".array_var($_GET'token'); 

} elseif(empty(
$_REQUEST['username'])) {
    
?>

      <form name="gettoken" method="post">
        <input name="username">
        <input name="password" type="password">
        <input type="submit">
      </form>
    <?

} else {
  $user = Users::getByUsername(array_var($_REQUEST, 'username'));
  
  if(empty($user)) { echo "Can't find user ".array_var($_REQUEST, 'username'); die; }
  
  if($user->isValidPassword(array_var($_REQUEST, 'password'))) {
    echo "Token for user <b>".$user->getUsername()."</b> is: ".$user->getToken();
    echo "<br><a href='?token=".$user->getToken()."'>Url for export all contacts to vcard</a>";
  } else echo "Bad password for user ".array_var($_REQUEST, 'username');
}


After modification you can open http://domain.com/fengoffice/export_contacts.php, type in form username and password, and give the link to file with contacts.

87
Our company use FengOffice as database of contacts and organisations.
But for email we didn't use integrated modules, use mail applications (thunderbird, kmail, outlook, etc) and some other software.

And at now we need to duplicate current client database in each application that is not so good. And manually create records in mobile phones too.

Many software can work with vcard file as contacts database (for example, Akonadi), but at now I must manually select which contacts must be exported and update file manually. And I can't select all contacts in fengoffice, but only one page.

I have added the copy of function export_to_vcard() to file application/controllers/ContactController.class.php with some modifications:
Code: [Select]
    function export_to_vcard_all() {
        $contacts = array();
                $ids = explode(",", $ids);
                $allowed = Contacts::instance()->getAllowedContacts();
                foreach ($allowed as $c) {
                        $contacts[] = $c;
                }
        if (count($contacts) == 0) {
                        flash_error(lang("you must select the contacts from the grid"));
                        ajx_current("empty");
                        return;
                }

        $data = self::build_vcard($contacts);
        $name = (count($contacts) == 1 ? $contacts[0]->getDisplayName() : "contacts") . ".vcf";

        download_contents($data, 'text/x-vcard', $name, strlen($data), true);
        die();
    }

After this I can export all available to user contacts via url http://opengoo.domain.ru/index.php?c=contact&a=export_to_vcard_all

But I can't do this via cron or another automated process, because I need to export it via authenticated in FengOffice user.

Can anybody tell how I can authenticate in FengOffice via some params in url or via curl() functiona and cookie/session files?

88
Feature requests / Re: WYSIWYG HTML editor for Task, and Note
« on: May 20, 2010, 02:49:48 am »
At now we can use Firefox with any Wysiwyg extension and enable wysiwyg in any textarea.
For example, this: https://addons.mozilla.org/en-US/firefox/addon/6147/?collection_uuid=2c6514dd-3789-f119-aba5-0f18182545b4

89
Ideas / Re: Disable bugs/features in the SourceForge project
« on: May 14, 2010, 09:17:51 am »
Any news? Which public bug tracker I must use if found some bugs in FengOffice beta versions?

90
Feature requests / Re: Save view in tasks
« on: March 19, 2010, 04:35:28 am »
Yes, will be very useful for me too.

Pages: 1 ... 4 5 [6] 7 8 ... 10