Commit Graph

13 Commits

Author SHA1 Message Date
Evan Prodromou
fde6e672cf Fix error in domainstatusnetworkinstaller that cleared tags table
An error in the domainstatusnetworkinstaller cleared the tags table,
losing any information about sites on the service. (We discovered this
in production on StatusNet OnDemand). Conjunction of these factors: 1)
the installer code was using an insert()'ed object with an
auto-incrementing key, which because the statusnet.ini was incorrect,
wasn't getting updated. 2) It then called setTag() on that object,
which deletes all tags matching the id, then adds in the new ones. 3)
Because the ID was null, DB_DataObject deleted all rows in the table.

I've made a work-around that re-fetches the status_network object
based on its (unique) nickname, which gets the correct ID, which
should work for tags. Confirmed that it works. Still need to fix the
underlying problems, however.
2011-05-02 18:51:09 -07:00
Evan Prodromou
6464c77505 fix warning for logs 2011-04-29 12:48:41 -07:00
Siebrand Mazeland
1ec1f9378a Whitespace updates.
Translator documentation.
2011-04-29 12:30:30 +02:00
Evan Prodromou
83819737d7 more verbose, better checks for installforemail 2011-04-28 15:30:59 -07:00
Evan Prodromou
ddead1e611 Check for unavailable site nicknames in DomainStatusNetwork 2011-04-28 15:30:23 -07:00
Evan Prodromou
f24af19b79 First version of installer for domain-based status networks
New installer class for domain-based status networks. (XXX: this should
probably be generalized for all multi-home systems). New script to run that
installer.
2011-04-28 12:39:59 -07:00
Evan Prodromou
1946eba7f4 move registeremailuser.php back to email registration 2011-04-27 14:54:21 -07:00
Evan Prodromou
b6bad0232e Move common domain-to-network mapping to the plugin module 2011-04-27 14:48:26 -07:00
Evan Prodromou
20e588d212 move external libs for domains here 2011-04-27 14:38:47 -04:00
Evan Prodromou
32cb8b1304 move domain status network scripts 2011-04-26 17:48:01 -04:00
Evan Prodromou
6576dbdf43 Revert "Add DomainStatusNetwork plugin"
This reverts commit 4479e7efc7.
2011-04-26 16:52:04 -04:00
Evan Prodromou
74e8409fad add DomainStatusNetwork plugin 2011-04-26 16:51:49 -04:00
Evan Prodromou
4479e7efc7 Add DomainStatusNetwork plugin 2011-04-26 16:51:05 -04:00