Mar. 19th, 2014

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 38ce1f726ac2ecb40dc16529128d8dbb74e8e302
https://github.com/dreamwidth/dw-free/commit/38ce1f726ac2ecb40dc16529128d8dbb74e8e302
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-10 (Wed, 10 Jul 2013)

Changed paths:
M bin/upgrading/update-db-general.pl
M cgi-bin/LJ/DB.pm

Log Message:
-----------
(Bug 215) Add database table for vgift transactions.

This is the last remaining table from the initial database design, which was
drafted in 2009 but not needed until now. Some properties of the transactions
are stored in the purchase cart instead of the transaction record; I didn't
want to duplicate information, but we may want to revisit this later.

Because this is a clustered table, it is added to the list in @LJ::USER_TABLES.
There is already a key for vgifts in alloc_user_counter, so we just change it
to use the correct columns from the new table.


Commit: 428b6bf206b86f17693e93f994658b387c8ddb3a
https://github.com/dreamwidth/dw-free/commit/428b6bf206b86f17693e93f994658b387c8ddb3a
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-10 (Wed, 10 Jul 2013)

Changed paths:
M cgi-bin/DW/VirtualGift.pm

Log Message:
-----------
(Bug 215) Strip trailing whitespace in separate commit, for clarity.


Commit: 0adfd1f5a13d2bb035d80c360543a75ec7c159db
https://github.com/dreamwidth/dw-free/commit/0adfd1f5a13d2bb035d80c360543a75ec7c159db
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-10 (Wed, 10 Jul 2013)

Changed paths:
M cgi-bin/DW/VirtualGift.pm
A cgi-bin/DW/VirtualGiftTransaction.pm

Log Message:
-----------
(Bug 215) DW::VirtualGiftTransaction - methods for working with transaction data.

This was originally implemented in the context of DW::VirtualGift, but
as the project evolved, it was clear these would better be handled as
methods on a new kind of object representing a single vgift transaction.

Several rounds of tweaking have been incorporated into this one patch.
If anything described seems to be missing, it should show up later.
The FIXME lines in particular will go away with the addition of another
new module defining a new shop item class.


Commit: d922b937a008ab6c56a40fa2300c36db543cf69d
https://github.com/dreamwidth/dw-free/commit/d922b937a008ab6c56a40fa2300c36db543cf69d
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-10 (Wed, 10 Jul 2013)

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Shop.pm
A cgi-bin/DW/Shop/Item/VirtualGift.pm
M cgi-bin/DW/VirtualGiftTransaction.pm

Log Message:
-----------
(Bug 215) New module DW::Shop::Item::VirtualGift.

This is just the shop backend. I tested it using code like this:

my $cart = DW::Shop::Cart->new_cart;
my %opts = ( target_userid => $u->id, vgiftid => 15, anonymous => 1 );
my $item = DW::Shop::Item::VirtualGift->new( %opts );
$cart->add_item( $item );
$cart->state( $DW::Shop::STATE_PAID ); # creates transaction row
$item->apply or warn "did not apply"; # sets status to delivered
$cart->state( $DW::Shop::STATE_PROCESSED ); # housekeeping

Seemed to work OK; hopefully this means it will integrate seamlessly with the
shop engine when the time comes. I left in a FIXME to remind me to check and
make sure name_text/name_html do what I expect in context later, and to fire
a notification when the gift is delivered.

I also changed DW::Shop to use LJ::ModuleLoader instead of having to write out
each individual subclass of DW::Shop::Item and keep it updated.


Commit: 9e3a057c498ad2b7462436e16f851eee2ec54647
https://github.com/dreamwidth/dw-free/commit/9e3a057c498ad2b7462436e16f851eee2ec54647
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-10 (Wed, 10 Jul 2013)

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Shop/Item/VirtualGift.pm
M cgi-bin/DW/VirtualGiftTransaction.pm
A cgi-bin/LJ/Event/VgiftDelivered.pm
M cgi-bin/LJ/Global/Defaults.pm
M cgi-bin/LJ/NotificationInbox.pm
M htdocs/manage/settings/index.bml

Log Message:
-----------
(Bug 215) New event for virtual gift delivery notification, LJ::Event::VgiftDelivered.

All the fun stuff that comes with ESN. This has primarily been tested via
/admin/eventoutput. The link on /manage/settings should maybe not go
live yet, as it's mostly just for testing at this point.


Commit: 6e0a656c500476118f6e753490acff5e51264a9a
https://github.com/dreamwidth/dw-free/commit/6e0a656c500476118f6e753490acff5e51264a9a
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-10 (Wed, 10 Jul 2013)

Changed paths:
M cgi-bin/DW/Shop/Cart.pm
M cgi-bin/DW/Shop/Item/VirtualGift.pm
M cgi-bin/LJ/User.pm
A t/vgift-trans.t

Log Message:
-----------
(Bug 215) Add vgift-trans.t for testing transaction methods.

Writing a test seems so easy on the surface... until running it
turns up all sorts of weird bugs in the code... some of them
I was able to fix and others I just had to work around.


Commit: 4a66ec94762d61d717b7bd04420ad3362b4756f6
https://github.com/dreamwidth/dw-free/commit/4a66ec94762d61d717b7bd04420ad3362b4756f6
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-10 (Wed, 10 Jul 2013)

Changed paths:
M cgi-bin/DW/VirtualGiftTransaction.pm

Log Message:
-----------
(Bug 215) Add methods related to viewing transactions on profile pages.

Not strictly backend, but defining here for convenience.

There is a new transaction URL method which resolves to
http://$username.dreamwidth.org/vgifts/$transid, but that
will 404 until the new controller is ready.


Commit: b81e166ae8f229cd4546aac14eb39066ec1dc30b
https://github.com/dreamwidth/dw-free/commit/b81e166ae8f229cd4546aac14eb39066ec1dc30b
Author: Kareila <kareila@dreamwidth.org>
Date: 2013-07-17 (Wed, 17 Jul 2013)

Changed paths:
M cgi-bin/DW/Shop/Item/VirtualGift.pm
M cgi-bin/DW/VirtualGiftTransaction.pm
M cgi-bin/LJ/Event/VgiftDelivered.pm

Log Message:
-----------
(Bug 215) Requested code style tweaks.


Commit: c0c9a0401e8d788902ae27ce1d6e62f2aa1adf16
https://github.com/dreamwidth/dw-free/commit/c0c9a0401e8d788902ae27ce1d6e62f2aa1adf16
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-03-20 (Thu, 20 Mar 2014)

Changed paths:
M bin/upgrading/en.dat
M bin/upgrading/update-db-general.pl
M cgi-bin/DW/Shop.pm
M cgi-bin/DW/Shop/Cart.pm
A cgi-bin/DW/Shop/Item/VirtualGift.pm
M cgi-bin/DW/VirtualGift.pm
A cgi-bin/DW/VirtualGiftTransaction.pm
M cgi-bin/LJ/DB.pm
A cgi-bin/LJ/Event/VgiftDelivered.pm
M cgi-bin/LJ/Global/Defaults.pm
M cgi-bin/LJ/NotificationInbox.pm
M cgi-bin/LJ/User.pm
M htdocs/manage/settings/index.bml
A t/vgift-trans.t

Log Message:
-----------
Merge pull request #496 from kareila/bug0215-submitted

Bug 215 - new backend bits for vgifts


Compare: https://github.com/dreamwidth/dw-free/compare/9f36fdbabf4b...c0c9a0401e8d
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 30d6f374cc1cd4955a825a606329f736a51aab83
https://github.com/dreamwidth/dw-free/commit/30d6f374cc1cd4955a825a606329f736a51aab83
Author: Liv <livredor@justemail.net>
Date: 2013-07-23 (Tue, 23 Jul 2013)

Changed paths:
M cgi-bin/LJ/S2.pm
M cgi-bin/LJ/User.pm

Log Message:
-----------
Bug 5041 Include comments search in S2 search module

Simplified and corrected fix.
Print_search_form method checks if comments are indexed here,
if so adds a "with comments" checkbox.
Currently comments are indexed if the journal being viewed is paid.


Commit: 12bb380fd276c1d6ce46179c7f5cefa888a0f252
https://github.com/dreamwidth/dw-free/commit/12bb380fd276c1d6ce46179c7f5cefa888a0f252
Author: Liv <livredor@justemail.net>
Date: 2013-08-03 (Sat, 03 Aug 2013)

Changed paths:
M cgi-bin/LJ/S2.pm

Log Message:
-----------
(Bug 5041) Include comments search in S2 search module

Style fixes as per review comments.
Text box, comment search checkbox and Search button on separate lines


Commit: 0e2755937041002e5c39f009a102e8adfcedc34a
https://github.com/dreamwidth/dw-free/commit/0e2755937041002e5c39f009a102e8adfcedc34a
Author: Liv <livredor@justemail.net>
Date: 2013-11-09 (Sat, 09 Nov 2013)

Changed paths:
M cgi-bin/LJ/S2.pm
M styles/core2base/layout.s2
M styles/wideopen/layout.s2

Log Message:
-----------
Bug 5041 Include comments search in S2 search module

Each element of the form is now in a separate span
which can be styled inline or block.
Appropriate CSS in Tabula Rasa, fix for WideOpen.
Still to do: - check if any other TR children need overrides
- add CSS for non-TR layouts


Commit: 247eb2bdfc8999079af781aba8458c8d327139d4
https://github.com/dreamwidth/dw-free/commit/247eb2bdfc8999079af781aba8458c8d327139d4
Author: Liv <livredor@justemail.net>
Date: 2013-11-10 (Sun, 10 Nov 2013)

Changed paths:
M styles/abstractia/layout.s2
M styles/bases/layout.s2
M styles/brittle/layout.s2
M styles/drifting/layout.s2
M styles/negatives/layout.s2
M styles/skittlishdreams/layout.s2

Log Message:
-----------
(Bug 5041) Include comments search in S2 search module

CSS added for Abstractia, Bases, Brittle, Drifting
Negatives and Skittlish Dreams
which don't inherit from Tabula Rasa.


Commit: 008242a77b7f62550c2ba3d97e2b886a1c0b5ede
https://github.com/dreamwidth/dw-free/commit/008242a77b7f62550c2ba3d97e2b886a1c0b5ede
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-03-20 (Thu, 20 Mar 2014)

Changed paths:
M cgi-bin/LJ/S2.pm
M cgi-bin/LJ/User.pm
M styles/abstractia/layout.s2
M styles/bases/layout.s2
M styles/brittle/layout.s2
M styles/core2base/layout.s2
M styles/drifting/layout.s2
M styles/negatives/layout.s2
M styles/skittlishdreams/layout.s2
M styles/wideopen/layout.s2

Log Message:
-----------
Merge pull request #534 from LivredOr/5041_comments_search_module_3

Bug 5041 Include comments search in S2 search module


Compare: https://github.com/dreamwidth/dw-free/compare/c0c9a0401e8d...008242a77b7f

Profile

Dreamwidth Changelog

May 2025

S M T W T F S
    12 3
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 10th, 2025 04:13 am
Powered by Dreamwidth Studios