Comments (8)
Sorry for my (very) late reply, I unfortunately no more have the time to maintain this plugin as it deserves.
As far as I know, using the good old rcmail instead of the new rcube is no problem as the rcmail still exist. I just tested it working with roundcube 1.4.2
Installing with composer has not worked very well since the beginning and INSTALL file advice to install from archive. PR are welcome for composer installation problems.
Another known issue is database prefix is not handled correctly at the moment. Any PR about this is also welcome.
from automatic_addressbook.
database prefixed will never be automatically addressed
Database prefix are automatically addressed on plugin installation with composer as you can see here
Unfortunately, they are only adressed for CREATE TABLE
and CREATE SEQUENCE
statements and not for REFERENCES
statements we use in automatic_addressbook plugin. This is a bug that should be addressed in plugin installer and everything should be working with database prefix after that.
I will post a PR on that tomorrow.
from automatic_addressbook.
I was able to get automatic_addressbook to work on Roundcube 1.3.6 eventually. My system is Ubuntu 18.04. Here are the steps I followed:
[1] Installed the plugin using composer:
[a] added it to /usr/share/roundcube/composer.json
as the last entry under 'require':
"sblaisot/automatic_addressbook": "~0.4.3"
[b] cd /usr/share/roundcube && php composer.phar update
[2] Composer threw an error when running the mysql.initial.sql
file, so I did this manually in mysql:
USE roundcube;
source ./SQL/mysql.initial.sql;
[3] The plugin uses the old 'rcmail' instead of 'rcube', so I backed up the plugin folder and did a search & replace:
...
cd plugins
rsync -av ./automatic_addressbook/ ./automatic_addressbook.bak
cd automatic_addressbook
find . -type f -name '*.php' -exec sed -i -e "s/rcmail/rcube/g" {} \;
...
[4] Create a symlink of the plugin source directory in /var/lib/roundcube/plugins/:
ln -s /usr/share/roundcube/plugins/automatic_addressbook/ /var/lib/roundcube/plugins/
[5] Edit the Roundcube config file and add the plugin reference to enable it:
nano /etc/roundcube/config.inc.php
:
...
$config['plugins'] = array('automatic_addressbook','acl', ... ... ... );
...
I hope that's of some help even after six months!
from automatic_addressbook.
hi,
i could make it work on Roundcube version 1.3.9.
cd /var/www/html/plugins/
git clone https://github.com/sblaisot/automatic_addressbook
then running this query on postgresql :
GRANT ALL PRIVILEGES ON TABLE collected_contacts TO databaseuser;
GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO databaseuser;
from automatic_addressbook.
PR #26 solves this
from automatic_addressbook.
database prefixed will never be automatically addressed.. i talk in past about that in roundcube support and forums, admins must customized if there's any databa prefix set.
yeah .. i changed the rcmail to rcube and now works as i set in the pull request.. just merged and that's all
from automatic_addressbook.
I have tested last automatic_addressbook version with RC 1.4.2 with success. I see no problem with using rcmail
.
So can you please explain WHY you want to change rcmail
by rcube
? I mean an objective reasons other than "I have done that without knowing what I did" ?
Is there any deprecation notice somewhere in roundcube developer documentation or mailing list about that ?
Can you provide step-by-step instruction that lead to automatic_addressbook plugin not working without changing rcmail with rcube ?
As far as I can see here rcmail
class extends rcube
class so I can see no reason to call the base framework class rather than the specific webmail class.
from automatic_addressbook.
Hello
I have juste an issue with autocomplete which don't work (the reste of the plugin is ok)
Thanks
from automatic_addressbook.
Related Issues (20)
- Doesn't work with Roundcube 1.2 HOT 2
- PHP Warning: array_intersect_key(): Argument #1 is not an array HOT 4
- Roundcube bug after using this plugin for a while HOT 3
- Any Chance of a new release? HOT 1
- RC 1.2.3 HOT 3
- Broken in 1.3.0 HOT 2
- Uncaught Error: Call to undefined function Q() HOT 3
- RC 1.1.5 and Release 0.4.3 Broken 0.4.2 Works HOT 1
- Contacts Flagged to Delete are Never Deleted
- emails are not saving in Automatically collected address book HOT 9
- Create nothing (RC 1.3.8)
- Seems on_edit_move_to_default has no effect HOT 2
- Move contacts not work after upgrade to Roundcube 1.4 rc1
- INSTALL process is not correctly explained... HOT 1
- Please help with installation HOT 1
- automaticaddress-book plugin is not working on hiding global addressbook
- Automatically add contacts to WebDAV addressbook?
- Does it work with carddav plugin? HOT 1
- error while importing sql HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatic_addressbook.