
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
wagtailextraicons
Advanced tools
Add extra icons to your Wagtail project.
Is for use with Wagtail versions 3.0 and above. This uses Wagtail's updated module paths from version 3.0.
Is for use with Wagtail versions 2.15 and above. This version uses wagtail's new Svg icon system.
This version works with Wagtail versions 3.0 and 4.*, but is deprecated for those.
Is for use with Wagtail versions below 2.15. This version uses wagtail's old Icon font system.
pip install wagtailextraicons
Then add wagtailextraicons
to your installed apps:
INSTALLED_APPS = [
...
'wagtailextraicons'
]
The full list of icons is available at docs/icons.md.
All icons are namespaced as extraicons--
to avoid clashing with existing Wagtail icons. You can add the extra icons to
your StreamField blocks like any other:
content = StreamField(
[
('paragraph', blocks.RichTextBlock(icon='extraicons--paragraph')),
],
use_json_field=True,
)
You can also add the extra icons to your own custom StructBlock
classes:
class PersonBlock(blocks.StructBlock):
person = SnippetChooserBlock('app.Person')
text = blocks.RichTextBlock()
class Meta:
icon = 'extraicons--person'
Reference the Wagtail docs for all the ways to include icons.
The icon fonts are compiled from the list of SVG files in static_src/wagtailextraicons/extraicons. This makes it very easy to add new icons. All that's needed is an appropriate SVG file, so pull requests with new icons are always welcome. There are a few constraints on the icons however:
Code pull requests are also welcome.
This project is licensed under the BSD License - see the LICENSE.txt file for details.
FAQs
Add extra icons to your Wagtail project.
We found that wagtailextraicons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.