Skip to content

Commit

Permalink
chore: prep for release
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Jan 16, 2024
1 parent 98fab8a commit 3f364a3
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 74 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 IanM
Copyright (c) 2024 IanM

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ php flarum cache:clear

Please consider supporting my extension development and maintenance work.

<a href="https://www.buymeacoffee.com/ianm1" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
[![Buy Me A Coffee](https://cdn.buymeacoffee.com/buttons/default-orange.png)](https://www.buymeacoffee.com/ianm1)
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* This file is part of ianm/boring-avatars.
*
* Copyright (c) 2023 IanM.
* Copyright (c) 2024 IanM.
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion js/src/admin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app.initializers.add('ianm/boring-avatars', () => {
const avatarOptions: Record<string, string> = themeOptionsArray.reduce((obj, theme) => {
obj[theme] = theme; // Use theme as both key and value.
return obj;
}, {});
}, {} as Record<string, string>);

app.extensionData
.for('ianm-boring-avatars')
Expand Down
48 changes: 0 additions & 48 deletions js/src/common/helpers/avatar.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions js/src/common/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions js/src/common/modifyCommonAvatarHelper.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions js/src/forum/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import app from 'flarum/forum/app';
import modifyCommonAvatarHelper from '../common/modifyCommonAvatarHelper';
import modifyForumAvatarHelper from './modifyForumAvatarHelper';

export { default as extend } from './extend';

app.initializers.add('ianm/boring-avatars', () => {
//modifyCommonAvatarHelper();
modifyForumAvatarHelper();
});
5 changes: 0 additions & 5 deletions js/src/forum/modifyForumAvatarHelper.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import app from 'flarum/forum/app';
import { extend, override } from 'flarum/common/extend';
import SessionDropdown from 'flarum/forum/components/SessionDropdown';
import svgAvatar from '../common/helpers/avatar';
import avatar from 'flarum/common/helpers/avatar';
import username from 'flarum/common/helpers/username';
import UserCard from 'flarum/forum/components/UserCard';
import AvatarEditor from 'flarum/forum/components/AvatarEditor';
import ItemList from 'flarum/common/utils/ItemList';
import type Mithril from 'mithril';
Expand Down

0 comments on commit 3f364a3

Please sign in to comment.