Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Promoted Jobs #2451

Merged
merged 381 commits into from
Oct 3, 2023
Merged

Feature: Promoted Jobs #2451

merged 381 commits into from
Oct 3, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 4, 2023

  1. Configuration menu
    Copy the full SHA
    bca7979 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4400c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19929fc View commit details
    Browse the repository at this point in the history
  4. Remove condition to check if job is already promoted

    Because the form to edit the job is the same as the form to create a new job
    fjorgemota committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    554c2c6 View commit details
    Browse the repository at this point in the history
  5. Use admin_action_ in action to deactivate promotion

    Instead of using generic load-edit.php and checking for deactivate_promotion manually
    fjorgemota committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    b83e1fd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    82cefcf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a11ef8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    82253df View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    737662e View commit details
    Browse the repository at this point in the history
  10. Use check_admin_referer to check nonce while deactivating a promotion

    And return error message when post_id is zero
    fjorgemota committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    030d023 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    edb4c37 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    38181e5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    79912e4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b8eac8b View commit details
    Browse the repository at this point in the history
  15. Make get_api_base_url public and static

    So we can get to access that URL from elsewhere
    fjorgemota committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    4c3c46b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3a47aa0 View commit details
    Browse the repository at this point in the history
  17. Get URL to WPJMCOM dynamically in Promoted Jobs admin

    Useful for supporting dev environments
    fjorgemota committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    869d821 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    88e5c77 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Remove old TODO comment

    fjorgemota committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    298781e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a75548b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7615157 View commit details
    Browse the repository at this point in the history
  4. Add method to implement endpoint to get job data

    With token checking and all the nice things!
    fjorgemota committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    a46f108 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f1a5c5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4bc97e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Fix promote job button text

    renatho committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    991d398 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d7504f View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2023

  1. Configuration menu
    Copy the full SHA
    4f7eca7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4529c2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    961a0b9 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Configuration menu
    Copy the full SHA
    e9487f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Configuration menu
    Copy the full SHA
    4d16369 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28e2d23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    366cb88 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/add/promote-redirect-to-wpjmcom'…

    … into add/promote-redirect-to-wpjmcom
    fjorgemota committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    c17e32c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da8d788 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    247e46c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2509adb View commit details
    Browse the repository at this point in the history
  8. Merge pull request #2500 from Automattic/fix/promote-job-button-text

    Fix promote job button text
    renatho authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    0ea9a68 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    73f1f2c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9573705 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3eb5aa8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c55512a View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Update API definition file.

    aaronfc committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    ea8d70f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0724a4f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8913df9 View commit details
    Browse the repository at this point in the history
  4. Fix return status code.

    aaronfc committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    5d19801 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4337c53 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f464f6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    821c858 View commit details
    Browse the repository at this point in the history
  8. Add -dev suffix.

    aaronfc committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    c7bffc8 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #2506 from Automattic/add/cap-check-promoted

    Check if user can promote job before presenting button
    jom authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    9ae1eab View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7f1eb64 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #2513 from Automattic/add/separate-verify-token-en…

    …dpoint
    
    Separate promoted job endpoint into verify token and job data retrieval.
    aaronfc authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    267321c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d05e222 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5658000 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e03ee8b View commit details
    Browse the repository at this point in the history
  15. If there's at least one WP Error on the feed, just return it directly

    So we don't have WP Errors instances inside the jobs array
    fjorgemota committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    0f34e66 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6c80ec0 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    dfe229e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2508 from Automattic/add/modal-close-on-promote

    Close modal when clicking on promote
    renatho authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    d004833 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9476af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce95e3b View commit details
    Browse the repository at this point in the history
  5. Encode URL arguments

    renatho committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    761cbef View commit details
    Browse the repository at this point in the history
  6. Add noopener and noreferrer to edit link in Promoted Jobs listing

    Co-authored-by: Renatho De Carli Rosa <[email protected]>
    fjorgemota and renatho authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    6f5ca9d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e902122 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0cbbd40 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1d69a6e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b44ed3d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d395765 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b863bbd View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    dccd012 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    791c52d View commit details
    Browse the repository at this point in the history
  15. Rename NOTIFICATION_URL to NOTIFICATION_ENDPOINT and use get_wpjmcom_…

    …url as base
    
    So now this should support dev environments as well
    fjorgemota committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    bceadac View commit details
    Browse the repository at this point in the history
  16. Move add_to_allowed_redirect_hosts to WP_Job_Manager class

    So now it should run everywhere, and not only on admin
    fjorgemota committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    69fde9b View commit details
    Browse the repository at this point in the history
  17. Move notification data to a different method

    Instead of adding everything in the notification URL, as this is a POST request
    fjorgemota committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    25b3a75 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a1fd316 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    585e3ee View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Merge pull request #2517 from Automattic/add/encode-url-arguments

    Encode url arguments
    renatho authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    43f7997 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5f9769 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4727a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b23a481 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a1bc6a6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    88e8141 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2520 from Automattic/change/use-appropriate-metho…

    …d-to-get-listing-types-promoted-jobs
    fjorgemota authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    e7500f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. Configuration menu
    Copy the full SHA
    e0eb015 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Configuration menu
    Copy the full SHA
    c24aa52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    530f694 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2478 from Automattic/add/fetch-promoted-template

    Fetch remote promoted template
    mikeyarce authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    09188d3 View commit details
    Browse the repository at this point in the history
  4. Add editor lifecycle script

    Borrowed from Sensei LMS.
    renatho committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    ac7b2f3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    24c8cdb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    42d0037 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    539fc06 View commit details
    Browse the repository at this point in the history
  8. Add script to the job editor

    renatho committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    fa46de6 View commit details
    Browse the repository at this point in the history
  9. Revert "Add isNew argument to editor lifecycle callbacks"

    This reverts commit 75c38d5.
    renatho committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    90ffc72 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    72c04ac View commit details
    Browse the repository at this point in the history
  11. Fix job listing check

    renatho committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    f5866b0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    db8e2c1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1b54c52 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6a70832 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6ec0727 View commit details
    Browse the repository at this point in the history
  16. Add block editor check

    renatho committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    b829693 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4829f93 View commit details
    Browse the repository at this point in the history
  18. Merge pull request #2524 from Automattic/fix/undefined-variable-warning

    Fix undefined variable warning
    renatho authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    3f31976 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ecf43dd View commit details
    Browse the repository at this point in the history
  20. Merge pull request #2522 from Automattic/add/promote-modal-on-job-save

    Add promote modal on job save
    renatho authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d275e7e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    b87041b View commit details
    Browse the repository at this point in the history
  22. Replace wpjobmanager.com with method

    Co-authored-by: Fernando Jorge Mota <[email protected]>
    renatho and fjorgemota authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    601c999 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Merge pull request #2526 from Automattic/add/learn-more-link

    Add learn more link to promote modal
    renatho authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9c76c9b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2525 from Automattic/add/data-cleaning

    Refactor promote jobs template in order to clean the data
    renatho authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    0be740d View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    3a2e1d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f29acf View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Merge pull request #2532 from Automattic/add/promoted-badge

    Add Promoted badge on job listings
    jom authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    c12decf View commit details
    Browse the repository at this point in the history
  2. Merge branch 'trunk' of github.com:Automattic/WP-Job-Manager into upd…

    …ate/feature-promoted-jobs
    renatho committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    4009ada View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2533 from Automattic/update/feature-promoted-jobs

    Update feature promoted jobs branch
    renatho authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    c2206bc View commit details
    Browse the repository at this point in the history
  4. Fix deactivate URL

    renatho committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    797a2bb View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2534 from Automattic/fix/deactivate-url

    Fix deactivate promotion URL
    renatho authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    c10fbd8 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Configuration menu
    Copy the full SHA
    cdf72b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    088de5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6740464 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8feb819 View commit details
    Browse the repository at this point in the history
  5. Remove not needed method

    renatho committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    5591834 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fdb7a5f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d5813dc View commit details
    Browse the repository at this point in the history
  8. Update deactivation method

    renatho committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    f45a645 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8263079 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. Merge pull request #2535 from Automattic/refactor/promote-meta-key

    Refactor promoted main methods centralizing it on `WP_Job_Manager_Promoted_Jobs_API`
    renatho authored Jul 24, 2023
    Configuration menu
    Copy the full SHA
    5d2a9de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78052b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb9021f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7b2c34 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e79cb2c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    954c3af View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2536 from Automattic/add/success-message

    Display a notice in the job listings when at least one job was promoted
    jom authored Jul 24, 2023
    Configuration menu
    Copy the full SHA
    72a3bab View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Merge pull request #2537 from Automattic/add/link-utm

    Add utm parameters to learn more link
    renatho authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    baa4570 View commit details
    Browse the repository at this point in the history
  2. Fix notification site URL

    renatho committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    b7d3f03 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5d98e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a50df3f View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2542 from Automattic/fix/notification-before-meta…

    …-change
    
    Fix notification before meta change
    renatho authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    8310a9a View commit details
    Browse the repository at this point in the history
  6. Fix $feed_url to match $site_url format

    Co-authored-by: Fernando Jorge Mota <[email protected]>
    renatho and fjorgemota authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    21a5782 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2540 from Automattic/fix/notification-site-url

    Fix notification site url
    renatho authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    29f9b8b View commit details
    Browse the repository at this point in the history
  8. Merge pull request #2543 from Automattic/fix/editor-promote-modal

    Display promote dialog only after the save is complete
    renatho authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    825ae8b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5b3723b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    21d833c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9b0863d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d87ce57 View commit details
    Browse the repository at this point in the history
  13. Fix post statuses in query

    renatho committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    ca6c343 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3242a18 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    72f0e66 View commit details
    Browse the repository at this point in the history
  16. Use same permission check as WP REST Controller to validate whether w…

    …e should return data or not
    fjorgemota committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    69d9271 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    fe31953 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce0dd95 View commit details
    Browse the repository at this point in the history
  3. Register _promoted post meta

    So it can be consumed in JS.
    renatho committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    f63bc2a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c477205 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7e6504e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d98decd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4bf9939 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e1a82ae View commit details
    Browse the repository at this point in the history
  9. Avoid deleting promoted jobs

    renatho committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    dcd422b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a2e5058 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e525c07 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0a77359 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    5356390 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    012a4cb View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2547 from Automattic/change/dont-show-promote-mod…

    …al-for-promoted-jobs
    
    Don't open the promote modal on the editor when the job is already promoted
    renatho authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    22f70e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f08778 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Remove unecessary check

    Already checked as first thing on `is_promoted`
    renatho committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    422cb26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d8896d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d732fc0 View commit details
    Browse the repository at this point in the history
  4. Improve copy

    renatho committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    ce74c0e View commit details
    Browse the repository at this point in the history
  5. Escape title HTML attribute

    renatho committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    5778c6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    254dd26 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6a3639f View commit details
    Browse the repository at this point in the history
  8. Update field name to 'status'

    renatho committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    b1e2e52 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1e9d7cf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    91bed31 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ff1bcbf View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a68e011 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'trunk' of github.com:Automattic/WP-Job-Manager into upd…

    …ate/feature-promoted-jobs
    renatho committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    955ac67 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #2551 from Automattic/update/feature-promoted-jobs

    Update feature promoted jobs
    renatho authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    d74d33e View commit details
    Browse the repository at this point in the history
  15. Merge pull request #2548 from Automattic/add/enhance-removing-promote…

    …d-jobs
    
    Enhance removing promoted jobs experience
    renatho authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    7d59452 View commit details
    Browse the repository at this point in the history
  16. Merge pull request #2544 from Automattic/change/keep-promoted-not-pub…

    …lished-jobs
    
    Consider all promoted jobs as promoted even if it's not published
    renatho authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    3183228 View commit details
    Browse the repository at this point in the history
  17. Merge pull request #2550 from Automattic/change/rename-salary-fields-…

    …promoted-jobs-api
    
    Sync salary fields in promoted jobs API with api documentation
    fjorgemota authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    2551521 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Update learn more link

    renatho committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    ec635d5 View commit details
    Browse the repository at this point in the history
  2. Add class WP_Job_Manager_Promoted_Jobs_Status_Handler to handling sta…

    …tus update of promoted jobs
    fjorgemota committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    93073e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e8cdba5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb9c3f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c21febb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cf99f5a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d66415f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1f16fc9 View commit details
    Browse the repository at this point in the history
  9. Refactor initialization code of the Promoted Jobs feature

    To match the structure of the feature in WPJMCOM
    fjorgemota committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    e16f90d View commit details
    Browse the repository at this point in the history
  10. Fix the path to the Promoted Jobs Site Feed in WPJMCOM

    It turns out that the request would never be successful if requesting the wrong endpoint..
    fjorgemota committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    220379a View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Merge pull request #2553 from Automattic/change/promoted-jobs-learn-m…

    …ore-link
    
    Change promoted jobs learn more link
    renatho authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    4cbfff3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4db4e23 View commit details
    Browse the repository at this point in the history
  3. Make maybe_Schedule_cron_jobs not static and call it from the init hook

    To allow every dependency to be loaded properly
    fjorgemota committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    bb64557 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e42c5a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ce4101c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    03031ab View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    02a9e29 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a9c0e10 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Configuration menu
    Copy the full SHA
    6ce063d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25e30e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    11a56e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfde5f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d613634 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b315a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee1fa71 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8169dab View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Configuration menu
    Copy the full SHA
    ec759b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9fb860 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d9b358 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    6e17f71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52e3cd9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0501cb6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30e4f0a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8ef9d31 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    c03c410 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10ccd40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4956699 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e6aabe View commit details
    Browse the repository at this point in the history
  5. Reduce interval for the cron to fetch promoted jobs updates

    The check will run more often, but it will be still limited by CRON_INTERVAL_OPTION_KEY. If we want to run it only twice a day, it is fine. If we want to run it more often, it is fine, too! :)
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    1a041f4 View commit details
    Browse the repository at this point in the history
  6. Disable autoload for the option for saving intervals for Promoted Job…

    …s Status Handler
    
    This optimizes performance very slightly, as WP will have one (or two) option less to load on every request. :D
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    5c5bdfc View commit details
    Browse the repository at this point in the history
  7. Delete option from the database if the header is "false"

    This effectively removes an option from the database, and makes the code uses its default "0" when checking for this option
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9c4c724 View commit details
    Browse the repository at this point in the history
  8. Do not update option if it already exists before redirecting user to …

    …WPJMCOM
    
    To avoid risking overwriting whatever value the server served just because the user decided to promote a new job
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    62f6896 View commit details
    Browse the repository at this point in the history
  9. Also do not load LAST_EXECUTION_OPTION_KEY on every request

    Because it is simply not needed on every where
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    52a8a45 View commit details
    Browse the repository at this point in the history
  10. Always update interval on response from WPJM, independent if it is an…

    … error or not
    
    So we can catch conditions where the Promoted Site doesn't exist anymore, for instance
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    92175de View commit details
    Browse the repository at this point in the history
  11. Update check to verify if header exist on the response

    Because apparently array_key_exists doesn't work as expected with the custom class that WP uses to implement case insensitive dictionaries
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    30200ae View commit details
    Browse the repository at this point in the history
  12. Add new options for intervals to the Data Cleaner

    To be deleted when uninstalling the plugin
    fjorgemota committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    154c52a View commit details
    Browse the repository at this point in the history
  13. Cast $last_execution to int

    Co-authored-by: Renatho De Carli Rosa <[email protected]>
    fjorgemota and renatho committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    21b8a0c View commit details
    Browse the repository at this point in the history
  14. Enhance PHPDoc

    renatho committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    63db340 View commit details
    Browse the repository at this point in the history
  15. Fix swagger documentation

    Co-authored-by: Fernando Jorge Mota <[email protected]>
    renatho and fjorgemota authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    fa4ba74 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    3d2a993 View commit details
    Browse the repository at this point in the history
  2. Set the LAST_CHECK option before redirecting to WPJMCOM

    To protect a case where the promoted job status update is permanently disabled
    fjorgemota committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    3039e61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    236e6de View commit details
    Browse the repository at this point in the history
  4. Simplify the logic of the update_interval method

    And make it not remove the webhook interval if the value is false or 0
    fjorgemota committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    aa6ef7f View commit details
    Browse the repository at this point in the history
  5. Always update LAST_CHECK option when initializing defaults

    In case we decide to update WPJMCOM logic to be more strict and somehow the cron runs before the data there is updated
    fjorgemota authored Aug 18, 2023
    Configuration menu
    Copy the full SHA
    70e7856 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    51ebc4b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2562 from Automattic/change/deactivation-approach

    Change deactivation approach
    renatho authored Aug 18, 2023
    Configuration menu
    Copy the full SHA
    8114ae1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4e0b5a1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    27c6ad7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cad0f37 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Merge branch 'trunk' of github.com:Automattic/WP-Job-Manager into upd…

    …ate/feature-promoted-jobs
    renatho committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    f10f6b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Merge branch 'trunk' of github.com:Automattic/WP-Job-Manager into upd…

    …ate/feature-promoted-jobs
    renatho committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    bf7b75b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2564 from Automattic/update/feature-promoted-jobs

    Update feature promoted jobs
    renatho authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    b116df9 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    074316c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2567 from Automattic/change/promote-jobs-edit-button

    Change promote jobs edit button
    renatho authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    c0b2a61 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Fix bulk update URL

    jom committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    c33327e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2570 from Automattic/fix/update-path

    Fix bulk update URL
    jom authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    d9fab11 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Merge branch 'trunk' of github.com:Automattic/WP-Job-Manager into upd…

    …ate/feature-promoted-jobs
    renatho committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    4b29e35 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2575 from Automattic/update/feature-promoted-jobs

    Update feature promoted jobs with trunk
    renatho authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    c06a1be View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    8bd16f7 View commit details
    Browse the repository at this point in the history