Jan. 31st, 2021

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 2900beb93e42f66f78522dc7e01a40ad0ea7f6e2 https://github.com/dreamwidth/dw-free/commit/2900beb93e42f66f78522dc7e01a40ad0ea7f6e2 Author: Nick Fagerlund nick.fagerlund@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M cgi-bin/DW/Controller/Entry.pm M views/components/icon-select-dropdown.tt M views/components/icon-select-icon.tt M views/entry/module-icons.tt

Log Message:


Reconcile icon select component with beta entry page (#2859)

  • Restore name='icon' on beta entry page icon select

The Entry controller expects the icon keyword to be in $POST->{icon}, not $POST->{prop_picture_keyword} like the reply form handlers use. Looks like the field names got mixed up during a multi-step conversion to the new shared icon components.

As of this commit, editing entries is still bugged: the form always selects the default icon, regardless of what the entry had before.

  • Restore selected icon when editing an entry

The form element template helpers automatically populate the selected attribute of a select based on the formdata argument of the parent template that called the helper, if it's present and it contains a key that matches the name of the select. And the entry page took advantage of that behavior for the icons menu. Passing selected breaks that if the selected value is undef.

As of this commit, the icon preview is still bugged when editing an entry -- the select is set to the right icon and the preview gets updated if you change it, but it starts out on the default icon no matter what.

  • Fix some mildly goofy indentation in some templates

  • Make select label invisible again

This isn't necessary for sighted users -- positioning the select right next to the icon indicates its purpose.

  • Remove class=inline from select

This looks like maybe detritus from partway through the conversion.

  • Icon select component: Make random button optional

The hidden-by-default random button made this component a non-starter for the entry page (which always shows it, and wants it in a different spot). So, if we make it optional we can reduce some special-casing elsewhere in the system.

  • Make entry page use the icon select component

  • Entry controller was expecting a different name for that select element.

  • Icon preview button was expecting to be passed the previously selected icon.
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 786f1ddb06024accde13e83efa0b85d862926428 https://github.com/dreamwidth/dw-free/commit/786f1ddb06024accde13e83efa0b85d862926428 Author: Mark Smith mark@dreamwidth.org Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M etc/docker/base/Dockerfile

Log Message:


Break up base dockerfile into two parts

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 90dabbe72d285b63ad78cc48eebfa047170a99de https://github.com/dreamwidth/dw-free/commit/90dabbe72d285b63ad78cc48eebfa047170a99de Author: Mark Smith mark@dreamwidth.org Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M doc/dependencies-cpanm M etc/docker/base/Dockerfile

Log Message:


Switch to cpm for install (parallel, way faster) and bump List::Util

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: a8f0f456f4de18748b5151f1761077bca1b60646 https://github.com/dreamwidth/dw-free/commit/a8f0f456f4de18748b5151f1761077bca1b60646 Author: Nick Fagerlund nick.fagerlund@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M htdocs/js/components/jquery.icon-select.js

Log Message:


Make icon browser remember that you previously used keyword/date order

Carrying over the signal from the data attribute on the browse button.

This was present when this logic lived in jquery.replyforms.js, but probably got dropped when resolving a merge conflict during #2840.

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: f097f586fd285f45dcb4eb1d8068943c2df3d81c https://github.com/dreamwidth/dw-free/commit/f097f586fd285f45dcb4eb1d8068943c2df3d81c Author: Nick Fagerlund nick.fagerlund@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

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

Log Message:


Remove dead code in quickreply

The templates grab that icons list directly now, we no longer pass it.

Commit: bd762c1606d1f19fbd81d18336de3cde3a234537 https://github.com/dreamwidth/dw-free/commit/bd762c1606d1f19fbd81d18336de3cde3a234537 Author: Nick Fagerlund nick.fagerlund@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M cgi-bin/LJ/User/Icons.pm M t/userpic-keyword-select.t M views/components/icon-select-icon.tt

Log Message:


Make $user->icon_keyword_menu return arrayref instead of list

This function is now mostly called from templates, and TT has an odd behavior with functions that return lists: if it's a multi-item list, it converts it to an arrayref, but empty or single-value lists seem to become scalars... which means calling virtual methods like .size won't work as expected, and you get errors like va-web03: Argument "" isn't numeric in numeric gt (>) at /home/dw/production/views/components/icon-select-icon.tt line 25.

The answer is to stop relying on auto-referencing and just always return an arrayref.

Commit: a13d5d4eb04f7c1d548eca92a92699c8e877a528 https://github.com/dreamwidth/dw-free/commit/a13d5d4eb04f7c1d548eca92a92699c8e877a528 Author: Nick Fagerlund nick.fagerlund@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M t/userpic-keyword-select.t

Log Message:


Remove incoherent+busted test

This just explodes instead of running the rest of the tests, because it's now a method on user objects instead of a standalone function that takes a user.

Compare: https://github.com/dreamwidth/dw-free/compare/a8f0f456f4de...a13d5d4eb04f

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 1d3e4f9b96412ac306f2ce746d9af065cce9d3d5 https://github.com/dreamwidth/dw-free/commit/1d3e4f9b96412ac306f2ce746d9af065cce9d3d5 Author: Mark Smith mark@dreamwidth.org Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M bin/upgrading/base-data.sql M bin/upgrading/proplists.dat M bin/upgrading/update-db-general.pl M cgi-bin/DW/Auth/Challenge.pm A doc/dependencies-dev A etc/docker/dev/Dockerfile A etc/docker/dev/scripts/setup.sh A etc/docker/dev/scripts/startup.sh M t/bin/initialize-db

Log Message:


Basic fixes for MySQL 5.7

This is a much smaller set of fixes than my other megabranch, just targeting certain things for MySQL 5.7.

This also adds a Dockerfile that doesn't 100% work yet, tetsing.

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: de936c82ffae836d73c0db404ef4f2e93d1e40c0 https://github.com/dreamwidth/dw-free/commit/de936c82ffae836d73c0db404ef4f2e93d1e40c0 Author: Mark Smith mark@dreamwidth.org Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M cgi-bin/LJ/User/Account.pm M etc/docker/dev/scripts/setup.sh M etc/docker/dev/scripts/startup.sh M t/bin/initialize-db

Log Message:


Small fixes

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 2c699d141fd22a15fb040de54decde707992bde8 https://github.com/dreamwidth/dw-free/commit/2c699d141fd22a15fb040de54decde707992bde8 Author: Mark Smith mark@dreamwidth.org Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M etc/docker/dev/Dockerfile M etc/docker/web/Dockerfile M etc/docker/worker/Dockerfile

Log Message:


ARG in wrong place, argh

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: b84e31c8f83de55b267ca5a7f002c8e87bc5615e https://github.com/dreamwidth/dw-free/commit/b84e31c8f83de55b267ca5a7f002c8e87bc5615e Author: Mark Smith mark@dreamwidth.org Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M cgi-bin/DW/Auth/Challenge.pm M etc/docker/dev/Dockerfile M etc/docker/dev/scripts/startup.sh

Log Message:


Fix tidy, fix dev container

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 6064639af36366e14ac2314235dc373094b1c759 https://github.com/dreamwidth/dw-free/commit/6064639af36366e14ac2314235dc373094b1c759 Author: Ruth momijizukamori@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M htdocs/scss/components/foundation-custom/pagination.scss M htdocs/scss/skins/entry-styles.scss M htdocs/scss/skins/skin-colors.scss M htdocs/scss/skins/celerity.scss M htdocs/scss/skins/gradation/gradation-base.scss M htdocs/stc/entrypage.css M styles/siteviews/layout.s2

Log Message:


Fixes for S2 pagination

  • Change styling to make old version look not completely terrible
  • Reorganize page list into nest list for easier styling
  • Add visited link colors
  • Fix view for < 10 pages

    Commit: 23fe24b139b903a1f6fe4d7f809015fe99569a0e https://github.com/dreamwidth/dw-free/commit/23fe24b139b903a1f6fe4d7f809015fe99569a0e Author: Ruth momijizukamori@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

    Changed paths: M htdocs/scss/skins/_entry-styles.scss M htdocs/scss/skins/lynx.scss

    Log Message:


Some margin tweaks

Compare: https://github.com/dreamwidth/dw-free/compare/b84e31c8f83d...23fe24b139b9

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: eb1bab4e11bccc203dd1aef58ee6f36f2434dc35 https://github.com/dreamwidth/dw-free/commit/eb1bab4e11bccc203dd1aef58ee6f36f2434dc35 Author: Kareila kareila@dreamwidth.org Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M views/profile/_blocks.tt

Log Message:


[#2861] convert WHILE to FOREACH

WHILE has a hidden limit WHILE_MAX which will terminate a loop after 1000 iterations. FOREACH has no such restrictions.

Fixes #2861.

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-nonfree Commit: d404967d586d7a316868eaf3857622d8bf0d3a0c https://github.com/dreamwidth/dw-nonfree/commit/d404967d586d7a316868eaf3857622d8bf0d3a0c Author: Ruth momijizukamori@gmail.com Date: 2021-01-31 (Sun, 31 Jan 2021)

Changed paths: M htdocs/scss/skins/tropo/tropo-purple.scss M htdocs/scss/skins/tropo/tropo-red.scss

Log Message:


Add visited link colors to S2 pagination in tropo

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 2ca769bd414ef8fdc2ed8699b405309e43dd278b https://github.com/dreamwidth/dw-free/commit/2ca769bd414ef8fdc2ed8699b405309e43dd278b Author: Mark Smith mark@dreamwidth.org Date: 2021-02-01 (Mon, 01 Feb 2021)

Changed paths: M .gitignore M doc/dependencies-dev M etc/docker/base/Dockerfile M etc/docker/dev/Dockerfile

Log Message:


Add htop, and update for using perl-cpm

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 2193ee0ede17c914a096c388257aa30af47f23aa https://github.com/dreamwidth/dw-free/commit/2193ee0ede17c914a096c388257aa30af47f23aa Author: Mark Smith mark@dreamwidth.org Date: 2021-02-01 (Mon, 01 Feb 2021)

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

Log Message:


Update ESN defaults for MySQL 5.7, and fix not raising error in statement

Profile

Dreamwidth Changelog

June 2025

S M T W T F S
1234567
89101112 13 14
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 15th, 2025 09:53 am
Powered by Dreamwidth Studios